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.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|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=5000,variableFilter="time|con.T.1.|con.T.2.|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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 111.3 kB / 15.23 MB, free: 0.6367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 201.3 kB / 16.14 MB, free: 6.793 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.841/2.841, allocations: 461.8 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 65.25 kB / 0.8984 GB, free: 37.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3367, allocations: 157.4 MB / 1.052 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005173/0.3419, allocations: 3.774 MB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004587/0.3465, allocations: 2.532 MB / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004516/0.347, allocations: 19.88 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0007866/0.3478, allocations: 222.8 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001014/0.3489, allocations: 470 kB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.3501, allocations: 475.1 kB / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001728/0.3518, allocations: 1.624 MB / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002392/0.3521, allocations: 128.7 kB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005398/0.3526, allocations: 378.5 kB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006774/0.3533, allocations: 0.5215 MB / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.712e-05/0.3534, allocations: 40 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.3536, allocations: 39.94 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003119/0.3539, allocations: 311 kB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004769/0.3544, allocations: 453.5 kB / 1.063 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008174/0.3552, allocations: 0.899 MB / 1.064 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.3552, allocations: 0 / 1.064 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3552, allocations: 0 / 1.064 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.185e-05/0.3552, allocations: 0 / 1.064 GB, free: 12.99 MB / 0.8262 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.002245/0.3575, allocations: 1.261 MB / 1.065 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3575, allocations: 12.02 kB / 1.065 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.3577, allocations: 103.7 kB / 1.065 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009416/0.3586, allocations: 0.6481 MB / 1.066 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.294e-05/0.3587, allocations: 41.03 kB / 1.066 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.128e-05/0.3588, allocations: 60.36 kB / 1.066 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005948/0.3594, allocations: 422.8 kB / 1.066 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3594, allocations: 0 / 1.066 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.23e-05/0.3594, allocations: 12 kB / 1.066 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.3594, allocations: 8 kB / 1.066 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003972/0.3598, allocations: 238.4 kB / 1.066 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002922/0.3628, allocations: 2.498 MB / 1.069 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.3643, allocations: 0.5616 MB / 1.069 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/0.3646, allocations: 160.8 kB / 1.069 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.3646, allocations: 4 kB / 1.069 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.3646, allocations: 38.55 kB / 1.07 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.492e-06/0.3646, allocations: 0 / 1.07 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.001687/0.3663, allocations: 0.8857 MB / 1.07 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.3664, allocations: 59.41 kB / 1.07 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.3675, allocations: 0.9231 MB / 1.071 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/0.3676, allocations: 41.7 kB / 1.071 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002712/0.3679, allocations: 364.8 kB / 1.072 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.368, allocations: 118.3 kB / 1.072 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/0.3682, allocations: 174.6 kB / 1.072 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3684, allocations: 394.7 kB / 1.072 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003887/0.3688, allocations: 241.8 kB / 1.073 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006145/0.3694, allocations: 0.6388 MB / 1.073 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.3704, allocations: 0.889 MB / 1.074 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.3705, allocations: 8 kB / 1.074 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001873/0.3723, allocations: 1.018 MB / 1.075 GB, free: 376 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.539e-05/0.3724, allocations: 13.81 kB / 1.075 GB, free: 364 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/0.3724, allocations: 16.47 kB / 1.075 GB, free: 348 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004878/0.3729, allocations: 126.4 kB / 1.075 GB, free: 212 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006798/0.3736, allocations: 195.6 kB / 1.075 GB, free: 16 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003195/0.3768, allocations: 4.153 MB / 1.08 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009313/0.3778, allocations: 114.9 kB / 1.08 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.964e-05/0.3778, allocations: 40.23 kB / 1.08 GB, free: 11.3 MB / 0.8419 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.0003457/0.3782, allocations: 269.5 kB / 1.08 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.3783, allocations: 82.97 kB / 1.08 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.3784, allocations: 84.52 kB / 1.08 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3784, allocations: 3.984 kB / 1.08 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.3785, allocations: 7.938 kB / 1.08 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3785, allocations: 0 / 1.08 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007024/0.3792, allocations: 0.6531 MB / 1.081 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3792, allocations: 0 / 1.081 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003241/0.3795, allocations: 59.95 kB / 1.081 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003038/0.3798, allocations: 106.4 kB / 1.081 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/0.3799, allocations: 11.98 kB / 1.081 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002976/0.3828, allocations: 4.142 MB / 1.085 GB, free: 5.426 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3829, allocations: 0 / 1.085 GB, free: 5.426 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.384, allocations: 0.7348 MB / 1.086 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002595/0.3842, allocations: 208 kB / 1.086 GB, free: 4.441 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.813e-05/0.3843, allocations: 15.98 kB / 1.086 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004599/0.3848, allocations: 19.97 kB / 1.086 GB, free: 4.406 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.69e-05/0.3849, allocations: 27.91 kB / 1.086 GB, free: 4.379 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.3849, allocations: 4 kB / 1.086 GB, free: 4.375 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008323/0.3858, allocations: 0.6278 MB / 1.087 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.9e-07/0.3858, allocations: 0 / 1.087 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009066/0.3867, allocations: 263.8 kB / 1.087 GB, free: 3.492 MB / 0.8419 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.000148/0.3868, allocations: 111.2 kB / 1.087 GB, free: 3.371 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001376/0.3882, allocations: 0.9293 MB / 1.088 GB, free: 2.406 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3882, allocations: 0 / 1.088 GB, free: 2.406 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005794/0.3888, allocations: 0.5154 MB / 1.088 GB, free: 1.852 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008872/0.3897, allocations: 176.8 kB / 1.088 GB, free: 1.68 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.3924, allocations: 1.953 MB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005801/0.393, allocations: 0.9917 MB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004246/0.3934, allocations: 145.8 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.3936, allocations: 55.42 kB / 1.092 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of SimCode: time 1.122e-06/0.3936, allocations: 3.938 kB / 1.092 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of Templates: time 0.01765/0.4112, allocations: 9.644 MB / 1.101 GB, free: 4.941 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches