Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 161.4 kB / 24.16 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.009/1.009, allocations: 177.1 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.99/1.99, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conPCM.T.[0-9,]+.|con1.T.[0-9,]+.|con2.T.[0-9,]+.|conPCM2.T.[0-9,]+.|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conPCM.T.[0-9,]+.|con1.T.[0-9,]+.|con2.T.[0-9,]+.|conPCM2.T.[0-9,]+.|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.495e-05, allocations: 5.516 kB / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004542/0.004567, allocations: 4.363 MB / 0.7643 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004164/0.00873, allocations: 3.011 MB / 0.7672 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005595/0.00929, allocations: 27.75 kB / 0.7672 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0008514/0.01014, allocations: 381.4 kB / 0.7676 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.00147/0.01161, allocations: 0.722 MB / 0.7683 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.0129, allocations: 0.6442 MB / 0.7689 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.00193/0.01483, allocations: 1.945 MB / 0.7708 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002521/0.01508, allocations: 127.1 kB / 0.771 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001303/0.01638, allocations: 0.8147 MB / 0.7717 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008538/0.01724, allocations: 0.6174 MB / 0.7724 GB, free: 9.996 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001575/0.0174, allocations: 76.69 kB / 0.7724 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007357/0.01813, allocations: 439.8 kB / 0.7728 GB, free: 9.492 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0003821/0.01851, allocations: 0.504 MB / 0.7733 GB, free: 8.988 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0003955/0.01891, allocations: 422.9 kB / 0.7737 GB, free: 8.574 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.02013, allocations: 1.144 MB / 0.7749 GB, free: 7.426 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.02014, allocations: 1 kB / 0.7749 GB, free: 7.426 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.292e-06/0.02014, allocations: 0 / 0.7749 GB, free: 7.426 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.612e-05/0.02016, allocations: 0 / 0.7749 GB, free: 7.426 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002485/0.02265, allocations: 1.505 MB / 0.7763 GB, free: 5.902 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.0227, allocations: 12.03 kB / 0.7763 GB, free: 5.891 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004162/0.02311, allocations: 132.8 kB / 0.7765 GB, free: 5.762 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.02417, allocations: 0.6155 MB / 0.7771 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/0.02421, allocations: 49.19 kB / 0.7771 GB, free: 5.062 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.981e-05/0.02429, allocations: 60.38 kB / 0.7772 GB, free: 5.004 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004531/0.02474, allocations: 339.9 kB / 0.7775 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.02476, allocations: 192 / 0.7775 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.02479, allocations: 20.12 kB / 0.7775 GB, free: 4.633 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.0248, allocations: 12 kB / 0.7775 GB, free: 4.621 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.02498, allocations: 113.7 kB / 0.7776 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002148/0.02712, allocations: 1.549 MB / 0.7791 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005535/0.02768, allocations: 404.2 kB / 0.7795 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.02778, allocations: 85.56 kB / 0.7796 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.221e-05/0.02784, allocations: 29.3 kB / 0.7796 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.02787, allocations: 38.88 kB / 0.7797 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 3.196e-06/0.02787, allocations: 0 / 0.7797 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.0005989/0.02847, allocations: 319 kB / 0.78 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.0285, allocations: 55.41 kB / 0.78 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006797/0.02918, allocations: 0.9396 MB / 0.781 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.02922, allocations: 42.52 kB / 0.781 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.02938, allocations: 327.1 kB / 0.7813 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.02949, allocations: 186.9 kB / 0.7815 GB, free: 476 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.02965, allocations: 198.4 kB / 0.7817 GB, free: 272 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002423/0.0299, allocations: 354.9 kB / 0.782 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.03007, allocations: 173.1 kB / 0.7822 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003157/0.03039, allocations: 490.5 kB / 0.7826 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006243/0.03101, allocations: 0.7453 MB / 0.7834 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/0.03102, allocations: 5.312 kB / 0.7834 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0008112/0.03183, allocations: 0.7382 MB / 0.7841 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.03185, allocations: 8 kB / 0.7841 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/0.03187, allocations: 12 kB / 0.7841 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001818/0.03206, allocations: 45.44 kB / 0.7842 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007491/0.0328, allocations: 299.4 kB / 0.7844 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002454/0.03526, allocations: 6.083 MB / 0.7904 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005156/0.03577, allocations: 111.9 kB / 0.7905 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.862e-05/0.03581, allocations: 36 kB / 0.7905 GB, free: 6.621 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000186/0.036, allocations: 166.3 kB / 0.7907 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.465e-05/0.03609, allocations: 71.92 kB / 0.7908 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003739/0.03647, allocations: 325.8 kB / 0.7911 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.03647, allocations: 4.5 kB / 0.7911 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.03647, allocations: 0 / 0.7911 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.03648, allocations: 5.234 kB / 0.7911 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004281/0.03691, allocations: 414.8 kB / 0.7915 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.03691, allocations: 0 / 0.7915 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003657/0.03728, allocations: 146.1 kB / 0.7916 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001079/0.03739, allocations: 41.16 kB / 0.7916 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.138e-05/0.03742, allocations: 11.98 kB / 0.7917 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005564/0.03797, allocations: 1.219 MB / 0.7929 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.03797, allocations: 4 kB / 0.7929 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004449/0.03842, allocations: 487.3 kB / 0.7933 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/0.03864, allocations: 151 kB / 0.7935 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.27e-05/0.03871, allocations: 12 kB / 0.7935 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.03896, allocations: 15.98 kB / 0.7935 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/0.03902, allocations: 31.88 kB / 0.7935 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.03903, allocations: 8.641 kB / 0.7935 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000386/0.03942, allocations: 479.1 kB / 0.794 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3e-08/0.03942, allocations: 0 / 0.794 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006914/0.04011, allocations: 367.6 kB / 0.7943 GB, free: 2.57 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (conPCM.u[1],conPCM.u[2],conPCM.u[3],conPCM.u[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2],conPCM2.u[1],conPCM2.u[2],conPCM2.u[3],conPCM2.u[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003991/0.04051, allocations: 270.4 kB / 0.7946 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009392/0.04145, allocations: 0.6759 MB / 0.7953 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.529e-05/0.04146, allocations: 12 kB / 0.7953 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.04165, allocations: 244.2 kB / 0.7955 GB, free: 1.344 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006368/0.04229, allocations: 231.5 kB / 0.7957 GB, free: 1.121 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.04449, allocations: 1.761 MB / 0.7974 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001675/0.04466, allocations: 231.3 kB / 0.7977 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003331/0.04499, allocations: 119.2 kB / 0.7978 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004814/0.04547, allocations: 269.1 kB / 0.798 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of SimCode: time 1.843e-06/0.04548, allocations: 0 / 0.798 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of Templates: time 0.02214/0.06761, allocations: 17.16 MB / 0.8148 GB, free: 13.93 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.428338626399636]