Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.0009471/0.0009471, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001057/0.001057, allocations: 177 kB / 23.36 MB, free: 1.129 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.9326/0.9326, allocations: 177.1 MB / 203.8 MB, free: 5.445 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.359/2.359, allocations: 438.8 MB / 0.6827 GB, free: 13.57 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.ConductorSingleLayer2,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.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,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.ConductorSingleLayer2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 3.938 kB / 0.8385 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.3e-05, allocations: 2.312 kB / 0.8385 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.003715/0.003738, allocations: 3.73 MB / 0.8422 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003296/0.007034, allocations: 2.559 MB / 0.8447 GB, free: 7.914 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002942/0.007328, allocations: 19.81 kB / 0.8447 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005657/0.007894, allocations: 250.2 kB / 0.8449 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0008028/0.008697, allocations: 0.5597 MB / 0.8455 GB, free: 7.086 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00088/0.009577, allocations: 0.5687 MB / 0.846 GB, free: 6.516 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001055/0.01063, allocations: 1.433 MB / 0.8474 GB, free: 5.078 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003325/0.01096, allocations: 106.3 kB / 0.8475 GB, free: 4.973 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006141/0.01158, allocations: 0.6002 MB / 0.8481 GB, free: 4.371 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004037/0.01198, allocations: 410.9 kB / 0.8485 GB, free: 3.969 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 6.421e-05/0.01205, allocations: 56 kB / 0.8486 GB, free: 3.914 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.01216, allocations: 67.94 kB / 0.8486 GB, free: 3.848 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002603/0.01242, allocations: 422.8 kB / 0.849 GB, free: 3.434 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002368/0.01266, allocations: 323.2 kB / 0.8494 GB, free: 3.117 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005189/0.01318, allocations: 0.646 MB / 0.85 GB, free: 2.469 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.01318, allocations: 0 / 0.85 GB, free: 2.469 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.203e-06/0.01318, allocations: 0 / 0.85 GB, free: 2.469 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.01319, allocations: 4 kB / 0.85 GB, free: 2.465 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.001152/0.01434, allocations: 1.16 MB / 0.8511 GB, free: 1.277 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.01437, allocations: 12.62 kB / 0.8511 GB, free: 1.266 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.01456, allocations: 104.8 kB / 0.8512 GB, free: 1.164 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005133/0.01508, allocations: 0.4908 MB / 0.8517 GB, free: 0.6406 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.0151, allocations: 37.03 kB / 0.8518 GB, free: 0.6055 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.956e-05/0.01516, allocations: 68.31 kB / 0.8518 GB, free: 0.5391 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.01543, allocations: 290.3 kB / 0.8521 GB, free: 224 kB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.01544, allocations: 192 / 0.8521 GB, free: 224 kB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.01546, allocations: 19.94 kB / 0.8521 GB, free: 204 kB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.01547, allocations: 8 kB / 0.8521 GB, free: 196 kB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.01557, allocations: 87.27 kB / 0.8522 GB, free: 108 kB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.01688, allocations: 1.409 MB / 0.8536 GB, free: 14.64 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000652/0.01753, allocations: 427.9 kB / 0.854 GB, free: 14.21 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.873e-05/0.0176, allocations: 52.83 kB / 0.854 GB, free: 14.16 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.01761, allocations: 12.5 kB / 0.854 GB, free: 14.15 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.01764, allocations: 34.56 kB / 0.8541 GB, free: 14.11 MB / 0.823 GB Notification: Performance of pre-optimization done (n=30): time 1.734e-06/0.01764, allocations: 0 / 0.8541 GB, free: 14.11 MB / 0.823 GB Notification: Performance of matching and sorting (n=30): time 0.0005751/0.01821, allocations: 357.3 kB / 0.8544 GB, free: 13.74 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.01824, allocations: 59.41 kB / 0.8545 GB, free: 13.67 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005046/0.01875, allocations: 0.6987 MB / 0.8552 GB, free: 12.96 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.01877, allocations: 41.7 kB / 0.8552 GB, free: 12.91 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.0189, allocations: 279 kB / 0.8555 GB, free: 12.64 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.731e-05/0.01896, allocations: 123 kB / 0.8556 GB, free: 12.52 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.01909, allocations: 162.5 kB / 0.8557 GB, free: 12.35 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.0192, allocations: 406.5 kB / 0.8561 GB, free: 11.94 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.206e-05/0.0193, allocations: 72.8 kB / 0.8562 GB, free: 11.87 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002862/0.01958, allocations: 478.2 kB / 0.8567 GB, free: 11.21 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004514/0.02003, allocations: 0.6371 MB / 0.8573 GB, free: 10.38 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.02004, allocations: 4 kB / 0.8573 GB, free: 10.38 MB / 0.823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0005966/0.02064, allocations: 0.5772 MB / 0.8578 GB, free: 9.777 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.02066, allocations: 16.03 kB / 0.8579 GB, free: 9.762 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.02067, allocations: 16 kB / 0.8579 GB, free: 9.746 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002895/0.02096, allocations: 115 kB / 0.858 GB, free: 9.621 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.02127, allocations: 187.7 kB / 0.8582 GB, free: 9.438 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/0.02312, allocations: 3.679 MB / 0.8618 GB, free: 5.465 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003777/0.0235, allocations: 95.3 kB / 0.8618 GB, free: 5.371 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.02353, allocations: 43.98 kB / 0.8619 GB, free: 5.328 MB / 0.823 GB 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.02368, allocations: 180.3 kB / 0.8621 GB, free: 5.141 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.187e-05/0.02374, allocations: 51.94 kB / 0.8621 GB, free: 5.09 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.942e-05/0.0238, allocations: 76.42 kB / 0.8622 GB, free: 5.012 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.0238, allocations: 0 / 0.8622 GB, free: 5.012 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.02381, allocations: 4 kB / 0.8622 GB, free: 5.008 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.02381, allocations: 0 / 0.8622 GB, free: 5.008 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.02411, allocations: 309.3 kB / 0.8625 GB, free: 4.688 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.02411, allocations: 0 / 0.8625 GB, free: 4.688 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.02426, allocations: 55.89 kB / 0.8625 GB, free: 4.633 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002193/0.02448, allocations: 99.06 kB / 0.8626 GB, free: 4.523 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.0245, allocations: 11.98 kB / 0.8626 GB, free: 4.512 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0015/0.026, allocations: 3.698 MB / 0.8663 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.026, allocations: 0 / 0.8663 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003807/0.02638, allocations: 449.2 kB / 0.8667 GB, free: 52 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.02654, allocations: 99.53 kB / 0.8668 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.151e-05/0.02659, allocations: 11.73 kB / 0.8668 GB, free: 15.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.02678, allocations: 8 kB / 0.8668 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.02683, allocations: 23.95 kB / 0.8668 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.02684, allocations: 11.98 kB / 0.8668 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002613/0.0271, allocations: 344.5 kB / 0.8672 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4e-08/0.0271, allocations: 0 / 0.8672 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005343/0.02763, allocations: 271.8 kB / 0.8674 GB, free: 15.3 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (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.0001084/0.02774, allocations: 92.34 kB / 0.8675 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006032/0.02834, allocations: 0.6543 MB / 0.8681 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.02835, allocations: 8 kB / 0.8682 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002637/0.02862, allocations: 448.5 kB / 0.8686 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.02909, allocations: 162.8 kB / 0.8687 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.03065, allocations: 1.303 MB / 0.87 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.03078, allocations: 194 kB / 0.8702 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001719/0.03096, allocations: 77.56 kB / 0.8703 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002935/0.03125, allocations: 197.2 kB / 0.8705 GB, free: 12.03 MB / 0.8386 GB Notification: Performance of SimCode: time 8.41e-07/0.03125, allocations: 0 / 0.8705 GB, free: 12.03 MB / 0.8386 GB Notification: Performance of Templates: time 0.01472/0.04597, allocations: 11.45 MB / 0.8816 GB, free: 0.8164 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.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.654557088855654]