Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.43/2.43, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001552/0.001551, allocations: 176 kB / 0.4902 GB, free: 2.246 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.678/1.678, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.0009385/0.0009385, allocations: 114 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003936/0.0003935, allocations: 10.41 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3264, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.212/0.5385, allocations: 162.8 MB / 1.388 GB, free: 6.816 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.5388, allocations: 83.95 kB / 1.388 GB, free: 6.734 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.09602/0.6348, allocations: 28.48 MB / 1.416 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.435e-06/0.6348, allocations: 3.938 kB / 1.416 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001259/0.635, allocations: 12 kB / 1.416 GB, free: 10.1 MB / 0.9167 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.004014/0.639, allocations: 1.192 MB / 1.417 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.99e-05/0.6391, allocations: 8.562 kB / 1.417 GB, free: 8.848 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006643/0.6398, allocations: 79.06 kB / 1.417 GB, free: 8.77 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003977/0.6438, allocations: 1.261 MB / 1.419 GB, free: 7.465 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.184e-05/0.6438, allocations: 28.52 kB / 1.419 GB, free: 7.438 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.644, allocations: 47.98 kB / 1.419 GB, free: 7.391 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007915/0.6448, allocations: 366.7 kB / 1.419 GB, free: 7.004 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.6448, allocations: 4 kB / 1.419 GB, free: 7 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.6449, allocations: 8 kB / 1.419 GB, free: 6.992 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.6449, allocations: 8 kB / 1.419 GB, free: 6.984 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005727/0.6455, allocations: 233.5 kB / 1.419 GB, free: 6.758 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00476/0.6503, allocations: 2.09 MB / 1.421 GB, free: 4.555 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/0.6515, allocations: 398.5 kB / 1.422 GB, free: 4.156 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.6516, allocations: 4 kB / 1.422 GB, free: 4.152 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.6516, allocations: 34.52 kB / 1.422 GB, free: 4.109 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=18): time 3.546e-06/0.6516, allocations: 0 / 1.422 GB, free: 4.109 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18): time 0.001354/0.653, allocations: 0.5467 MB / 1.422 GB, free: 3.535 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.653, allocations: 51.41 kB / 1.422 GB, free: 3.473 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001621/0.6547, allocations: 0.9095 MB / 1.423 GB, free: 2.555 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 6.281e-05/0.6548, allocations: 37.7 kB / 1.423 GB, free: 2.512 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003141/0.6551, allocations: 300.4 kB / 1.423 GB, free: 2.215 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.6552, allocations: 74.97 kB / 1.424 GB, free: 2.141 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.6553, allocations: 16 kB / 1.424 GB, free: 2.125 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002203/0.6555, allocations: 374.8 kB / 1.424 GB, free: 1.75 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000392/0.6559, allocations: 232.9 kB / 1.424 GB, free: 1.52 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005545/0.6565, allocations: 0.4934 MB / 1.425 GB, free: 0.8984 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004845/0.657, allocations: 303.7 kB / 1.425 GB, free: 0.6016 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.437e-06/0.657, allocations: 4 kB / 1.425 GB, free: 0.5977 MB / 0.9167 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.721/1.378, allocations: 0.8031 MB / 1.426 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.162e-05/1.378, allocations: 9.25 kB / 1.426 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.557e-05/1.378, allocations: 10.38 kB / 1.426 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003219/1.378, allocations: 57.83 kB / 1.426 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005731/1.379, allocations: 135.2 kB / 1.426 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/1.38, allocations: 1.454 MB / 1.427 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/1.381, allocations: 204.5 kB / 1.427 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/1.381, allocations: 27.16 kB / 1.428 GB, free: 179.4 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.0004095/1.382, allocations: 347.1 kB / 1.428 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/1.382, allocations: 57.47 kB / 1.428 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/1.382, allocations: 68.2 kB / 1.428 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/1.382, allocations: 4 kB / 1.428 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.382, allocations: 0 / 1.428 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/1.382, allocations: 0 / 1.428 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006347/1.383, allocations: 0.672 MB / 1.429 GB, free: 179.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/1.383, allocations: 3.953 kB / 1.429 GB, free: 179.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/1.383, allocations: 49.67 kB / 1.429 GB, free: 179.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001137/1.383, allocations: 38.36 kB / 1.429 GB, free: 179.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/1.383, allocations: 16.33 kB / 1.429 GB, free: 179.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008219/1.384, allocations: 1.424 MB / 1.43 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.384, allocations: 0 / 1.43 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000722/1.385, allocations: 0.5759 MB / 1.431 GB, free: 177.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003809/1.385, allocations: 351 kB / 1.431 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.407e-05/1.385, allocations: 9.766 kB / 1.431 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005729/1.386, allocations: 94.31 kB / 1.431 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.604e-05/1.386, allocations: 14.09 kB / 1.431 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/1.386, allocations: 3.672 kB / 1.431 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0009261/1.387, allocations: 0.6949 MB / 1.432 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9.42e-07/1.387, allocations: 0 / 1.432 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0006984/1.387, allocations: 197.2 kB / 1.432 GB, free: 177.3 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.0002656/1.388, allocations: 180.3 kB / 1.432 GB, free: 177.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0009554/1.389, allocations: 0.5702 MB / 1.433 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.389, allocations: 0.9688 kB / 1.433 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003216/1.389, allocations: 252.3 kB / 1.433 GB, free: 177 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007044/1.39, allocations: 165.7 kB / 1.433 GB, free: 177 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003542/1.393, allocations: 1.77 MB / 1.435 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008579/1.394, allocations: 1.021 MB / 1.436 GB, free: 175.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0007926/1.395, allocations: 183.3 kB / 1.436 GB, free: 175.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/1.395, allocations: 41.48 kB / 1.436 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of SimCode: time 4.51e-07/1.395, allocations: 0 / 1.436 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of Templates: time 0.03013/1.425, allocations: 9.047 MB / 1.445 GB, free: 175.3 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches