Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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.0009614/0.0009614, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009801/0.0009801, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 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 0.972/0.972, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.411/2.411, allocations: 438.8 MB / 0.6826 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.177e-05, allocations: 5.406 kB / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.003897/0.003919, allocations: 3.766 MB / 0.8423 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003885/0.007804, allocations: 2.562 MB / 0.8448 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003105/0.008115, allocations: 19.81 kB / 0.8448 GB, free: 7.863 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005986/0.008713, allocations: 250.3 kB / 0.845 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0008129/0.009526, allocations: 0.5674 MB / 0.8456 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000856/0.01038, allocations: 0.5414 MB / 0.8461 GB, free: 6.504 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001028/0.01141, allocations: 1.413 MB / 0.8475 GB, free: 5.086 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.01157, allocations: 94.38 kB / 0.8476 GB, free: 4.992 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005809/0.01215, allocations: 0.6158 MB / 0.8482 GB, free: 4.375 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006284/0.01278, allocations: 430.9 kB / 0.8486 GB, free: 3.953 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0002452/0.01303, allocations: 52 kB / 0.8486 GB, free: 3.902 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003403/0.01337, allocations: 75.92 kB / 0.8487 GB, free: 3.828 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0004251/0.01379, allocations: 386.9 kB / 0.8491 GB, free: 3.449 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002737/0.01407, allocations: 315.2 kB / 0.8494 GB, free: 3.141 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0008875/0.01495, allocations: 0.6342 MB / 0.85 GB, free: 2.504 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.01496, allocations: 0 / 0.85 GB, free: 2.504 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.203e-06/0.01496, allocations: 0 / 0.85 GB, free: 2.504 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.826e-05/0.01498, allocations: 0 / 0.85 GB, free: 2.504 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.00172/0.0167, allocations: 1.152 MB / 0.8511 GB, free: 1.324 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.01674, allocations: 8.625 kB / 0.8511 GB, free: 1.316 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002956/0.01703, allocations: 96.83 kB / 0.8512 GB, free: 1.223 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007853/0.01782, allocations: 0.4908 MB / 0.8517 GB, free: 0.6992 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.819e-05/0.01786, allocations: 37.03 kB / 0.8517 GB, free: 0.6641 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.889e-05/0.01793, allocations: 60.33 kB / 0.8518 GB, free: 0.6055 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004179/0.01835, allocations: 294.3 kB / 0.8521 GB, free: 288 kB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.01837, allocations: 4.172 kB / 0.8521 GB, free: 284 kB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/0.0184, allocations: 19.94 kB / 0.8521 GB, free: 264 kB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.01841, allocations: 12 kB / 0.8521 GB, free: 252 kB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.01858, allocations: 87.25 kB / 0.8522 GB, free: 164 kB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001893/0.02048, allocations: 1.39 MB / 0.8535 GB, free: 14.72 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008673/0.02134, allocations: 376.5 kB / 0.8539 GB, free: 14.34 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.02145, allocations: 61.28 kB / 0.854 GB, free: 14.28 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.02146, allocations: 8.172 kB / 0.854 GB, free: 14.27 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.02149, allocations: 34.8 kB / 0.854 GB, free: 14.23 MB / 0.823 GB Notification: Performance of pre-optimization done (n=28): time 1.933e-06/0.02149, allocations: 0 / 0.854 GB, free: 14.23 MB / 0.823 GB Notification: Performance of matching and sorting (n=30): time 0.0009804/0.02247, allocations: 0.5331 MB / 0.8545 GB, free: 13.66 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.0225, allocations: 63.34 kB / 0.8546 GB, free: 13.58 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004869/0.02299, allocations: 0.7064 MB / 0.8553 GB, free: 12.87 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.02301, allocations: 41.7 kB / 0.8553 GB, free: 12.82 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.02314, allocations: 275.1 kB / 0.8556 GB, free: 12.55 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.863e-05/0.02321, allocations: 122.9 kB / 0.8557 GB, free: 12.43 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.02334, allocations: 162.5 kB / 0.8558 GB, free: 12.26 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.02346, allocations: 398.6 kB / 0.8562 GB, free: 11.86 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.019e-05/0.02355, allocations: 76.8 kB / 0.8563 GB, free: 11.79 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002556/0.0238, allocations: 482.2 kB / 0.8568 GB, free: 11.12 MB / 0.823 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Notification: Performance of analyzeInitialSystem (initialization): time 0.0008306/0.02463, allocations: 0.8899 MB / 0.8576 GB, free: 10.04 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.02464, allocations: 4 kB / 0.8576 GB, free: 10.03 MB / 0.823 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0005439/0.02518, allocations: 0.509 MB / 0.8581 GB, free: 9.512 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.02521, allocations: 15.94 kB / 0.8581 GB, free: 9.496 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.02522, allocations: 16 kB / 0.8582 GB, free: 9.48 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001679/0.02539, allocations: 51.59 kB / 0.8582 GB, free: 9.426 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004447/0.02583, allocations: 247.8 kB / 0.8584 GB, free: 9.188 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006336/0.02647, allocations: 1.208 MB / 0.8596 GB, free: 7.883 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003187/0.02679, allocations: 39.92 kB / 0.8597 GB, free: 7.844 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/0.02682, allocations: 32 kB / 0.8597 GB, free: 7.812 MB / 0.823 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (97): * Single equations (assignments): 96 * 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 prepare postOptimizeDAE: time 0.0001692/0.02699, allocations: 196.2 kB / 0.8599 GB, free: 7.609 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.378e-05/0.02705, allocations: 47.95 kB / 0.8599 GB, free: 7.562 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.625e-05/0.02712, allocations: 76.41 kB / 0.86 GB, free: 7.484 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.02712, allocations: 4 kB / 0.86 GB, free: 7.48 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.02712, allocations: 0 / 0.86 GB, free: 7.48 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.02713, allocations: 0 / 0.86 GB, free: 7.48 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007228/0.02785, allocations: 0.6725 MB / 0.8607 GB, free: 6.77 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.02785, allocations: 4 kB / 0.8607 GB, free: 6.766 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002853/0.02814, allocations: 121.8 kB / 0.8608 GB, free: 6.648 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001056/0.02824, allocations: 35.64 kB / 0.8608 GB, free: 6.609 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.02826, allocations: 8 kB / 0.8608 GB, free: 6.602 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005955/0.02886, allocations: 1.226 MB / 0.862 GB, free: 5.277 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.02886, allocations: 4 kB / 0.862 GB, free: 5.273 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.02919, allocations: 417.5 kB / 0.8624 GB, free: 4.832 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.02932, allocations: 95.41 kB / 0.8625 GB, free: 4.738 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.922e-05/0.02937, allocations: 11.98 kB / 0.8625 GB, free: 4.727 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.02955, allocations: 11.94 kB / 0.8625 GB, free: 4.715 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.0296, allocations: 27.89 kB / 0.8626 GB, free: 4.688 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.02961, allocations: 8 kB / 0.8626 GB, free: 4.68 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002783/0.02989, allocations: 348.5 kB / 0.8629 GB, free: 4.344 MB / 0.823 GB Notification: Performance of sort global known variables: time 2e-08/0.02989, allocations: 0 / 0.8629 GB, free: 4.344 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004444/0.03033, allocations: 208 kB / 0.8631 GB, free: 4.141 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * 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 (29): * Single equations (assignments): 28 * 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.0001158/0.03045, allocations: 84.36 kB / 0.8632 GB, free: 4.051 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004666/0.03091, allocations: 437 kB / 0.8636 GB, free: 3.613 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/0.03092, allocations: 8 kB / 0.8636 GB, free: 3.605 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.03107, allocations: 195.6 kB / 0.8638 GB, free: 3.398 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004777/0.03155, allocations: 175 kB / 0.864 GB, free: 3.23 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.03306, allocations: 1.285 MB / 0.8652 GB, free: 1.891 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.03318, allocations: 189.8 kB / 0.8654 GB, free: 1.684 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001986/0.03338, allocations: 85.64 kB / 0.8655 GB, free: 1.598 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003046/0.03368, allocations: 209.2 kB / 0.8657 GB, free: 1.395 MB / 0.823 GB Notification: Performance of SimCode: time 9.82e-07/0.03368, allocations: 0 / 0.8657 GB, free: 1.395 MB / 0.823 GB Notification: Performance of Templates: time 0.01326/0.04694, allocations: 10.37 MB / 0.8758 GB, free: 7.258 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer.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.569709299132228]