Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.333/2.333, allocations: 390.3 MB / 405.3 MB, free: 13.54 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001454, allocations: 179 kB / 498.1 MB, free: 5.762 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.734/1.734, allocations: 223.2 MB / 0.7948 GB, free: 17.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 90.78 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003962, allocations: 6.875 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3239, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2166/0.5406, allocations: 162 MB / 1.381 GB, free: 100 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.5409, allocations: 79.97 kB / 1.381 GB, free: 20 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.09793/0.6389, allocations: 28.47 MB / 1.409 GB, free: 3.41 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6389, allocations: 0 / 1.409 GB, free: 3.41 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001277/0.6391, allocations: 23.98 kB / 1.409 GB, free: 3.387 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.003975/0.643, allocations: 1.188 MB / 1.41 GB, free: 2.145 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.6431, allocations: 12.03 kB / 1.41 GB, free: 2.133 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004911/0.6436, allocations: 79.06 kB / 1.41 GB, free: 2.055 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003082/0.6467, allocations: 1.261 MB / 1.411 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.6467, allocations: 32.52 kB / 1.411 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.6468, allocations: 43.91 kB / 1.411 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006629/0.6475, allocations: 370.7 kB / 1.412 GB, free: 296 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.6475, allocations: 0 / 1.412 GB, free: 296 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.6476, allocations: 4 kB / 1.412 GB, free: 292 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.6476, allocations: 8 kB / 1.412 GB, free: 284 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004172/0.648, allocations: 237.5 kB / 1.412 GB, free: 44 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003324/0.6514, allocations: 2.089 MB / 1.414 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.6524, allocations: 394.5 kB / 1.414 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.6524, allocations: 7.938 kB / 1.414 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.6525, allocations: 38.52 kB / 1.415 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.6525, allocations: 0 / 1.415 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18): time 0.001081/0.6536, allocations: 0.535 MB / 1.415 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.6536, allocations: 55.41 kB / 1.415 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.655, allocations: 0.9211 MB / 1.416 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.655, allocations: 33.7 kB / 1.416 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/0.6553, allocations: 296.5 kB / 1.416 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.6554, allocations: 78.94 kB / 1.416 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.005e-05/0.6555, allocations: 8 kB / 1.416 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.6556, allocations: 378.8 kB / 1.417 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003588/0.656, allocations: 232.9 kB / 1.417 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004934/0.6565, allocations: 0.4936 MB / 1.417 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004463/0.657, allocations: 309.9 kB / 1.418 GB, free: 9.891 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.657, allocations: 0 / 1.418 GB, free: 9.891 MB / 0.9167 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001291/0.6583, allocations: 0.8043 MB / 1.419 GB, free: 9.078 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.6583, allocations: 8 kB / 1.419 GB, free: 9.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.23e-05/0.6584, allocations: 15.94 kB / 1.419 GB, free: 9.055 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002391/0.6586, allocations: 56.81 kB / 1.419 GB, free: 8.996 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004738/0.6591, allocations: 135.8 kB / 1.419 GB, free: 8.863 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.6604, allocations: 1.448 MB / 1.42 GB, free: 7.281 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.6615, allocations: 199.4 kB / 1.42 GB, free: 7.086 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.855e-05/0.6615, allocations: 28 kB / 1.42 GB, free: 7.059 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00055/0.6621, allocations: 345.1 kB / 1.421 GB, free: 6.711 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.6623, allocations: 55.25 kB / 1.421 GB, free: 6.656 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001855/0.6625, allocations: 77.98 kB / 1.421 GB, free: 6.578 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.6625, allocations: 0 / 1.421 GB, free: 6.578 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.6625, allocations: 7.938 kB / 1.421 GB, free: 6.57 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.6625, allocations: 3.984 kB / 1.421 GB, free: 6.566 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.6636, allocations: 0.6726 MB / 1.422 GB, free: 5.844 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.6637, allocations: 0 / 1.422 GB, free: 5.844 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/0.664, allocations: 55.95 kB / 1.422 GB, free: 5.789 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001688/0.6641, allocations: 36.83 kB / 1.422 GB, free: 5.75 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.811e-05/0.6642, allocations: 11.98 kB / 1.422 GB, free: 5.738 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/0.6655, allocations: 1.428 MB / 1.423 GB, free: 4.176 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.6655, allocations: 4.281 kB / 1.423 GB, free: 4.172 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009311/0.6664, allocations: 0.5795 MB / 1.424 GB, free: 3.574 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006395/0.6671, allocations: 348.3 kB / 1.424 GB, free: 3.188 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.6672, allocations: 11.98 kB / 1.424 GB, free: 3.176 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000685/0.6679, allocations: 91.78 kB / 1.424 GB, free: 3.086 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.304e-05/0.668, allocations: 11.98 kB / 1.424 GB, free: 3.074 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.668, allocations: 4 kB / 1.424 GB, free: 3.07 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001327/0.6694, allocations: 0.6981 MB / 1.425 GB, free: 2.379 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.6e-07/0.6694, allocations: 0 / 1.425 GB, free: 2.379 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001078/0.6705, allocations: 195.8 kB / 1.425 GB, free: 2.188 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003974/0.6709, allocations: 167.6 kB / 1.425 GB, free: 2.016 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001197/0.6721, allocations: 0.5663 MB / 1.426 GB, free: 1.438 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.6721, allocations: 0 / 1.426 GB, free: 1.438 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003927/0.6725, allocations: 255.2 kB / 1.426 GB, free: 1.176 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009211/0.6734, allocations: 163.8 kB / 1.426 GB, free: 1.016 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5521/1.226, allocations: 1.77 MB / 1.428 GB, free: 187.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000623/1.226, allocations: 1.022 MB / 1.429 GB, free: 187.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0006608/1.227, allocations: 186.2 kB / 1.429 GB, free: 187.1 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/1.227, allocations: 38.58 kB / 1.429 GB, free: 187.1 MB / 0.9167 GB Notification: Performance of SimCode: time 9.62e-07/1.227, allocations: 0 / 1.429 GB, free: 187.1 MB / 0.9167 GB Notification: Performance of Templates: time 0.02382/1.251, allocations: 9.049 MB / 1.438 GB, free: 187 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches