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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001493/0.001493, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002002/0.002002, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.529/1.529, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.907/2.907, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 64.77 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3536, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005086/0.3587, allocations: 3.767 MB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00411/0.3628, allocations: 2.55 MB / 1.074 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000495/0.3634, allocations: 15.88 kB / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007753/0.3641, allocations: 218.8 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001093/0.3653, allocations: 462 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.3664, allocations: 471.1 kB / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001639/0.3681, allocations: 1.628 MB / 1.076 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000246/0.3684, allocations: 132.8 kB / 1.077 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005977/0.369, allocations: 374.5 kB / 1.077 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000713/0.3697, allocations: 0.5255 MB / 1.077 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.3698, allocations: 36 kB / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.37, allocations: 44 kB / 1.077 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003063/0.3703, allocations: 315 kB / 1.078 GB, free: 336 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000491/0.3708, allocations: 445.6 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007722/0.3716, allocations: 0.9029 MB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3716, allocations: 0 / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3716, allocations: 0 / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.252e-05/0.3717, allocations: 0 / 1.079 GB, free: 14.98 MB / 0.8419 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.002451/0.3741, allocations: 1.265 MB / 1.08 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.3742, allocations: 16.03 kB / 1.08 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.3744, allocations: 99.72 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.3754, allocations: 0.652 MB / 1.081 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.223e-05/0.3754, allocations: 37.03 kB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.749e-05/0.3755, allocations: 56.38 kB / 1.081 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006301/0.3762, allocations: 418.9 kB / 1.082 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.3762, allocations: 7.875 kB / 1.082 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.3762, allocations: 12 kB / 1.082 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.3763, allocations: 8 kB / 1.082 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004373/0.3767, allocations: 234.4 kB / 1.082 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003049/0.3798, allocations: 2.505 MB / 1.084 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.3813, allocations: 0.5464 MB / 1.085 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002711/0.3816, allocations: 172.6 kB / 1.085 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.3816, allocations: 4 kB / 1.085 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.3817, allocations: 30.56 kB / 1.085 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=30): time 1.643e-06/0.3817, allocations: 0 / 1.085 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30): time 0.001664/0.3834, allocations: 0.8869 MB / 1.086 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.3834, allocations: 55.41 kB / 1.086 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.3846, allocations: 0.9193 MB / 1.087 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/0.3847, allocations: 37.7 kB / 1.087 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002928/0.385, allocations: 368.7 kB / 1.087 GB, free: 6.246 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.3851, allocations: 118.4 kB / 1.087 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.3853, allocations: 174.5 kB / 1.087 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3855, allocations: 394.8 kB / 1.088 GB, free: 5.555 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004043/0.3859, allocations: 245.8 kB / 1.088 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006333/0.3865, allocations: 0.6388 MB / 1.089 GB, free: 4.484 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.3876, allocations: 0.9008 MB / 1.09 GB, free: 3.391 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/0.3876, allocations: 4 kB / 1.09 GB, free: 3.387 MB / 0.8419 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001697/0.3893, allocations: 1.011 MB / 1.091 GB, free: 2.359 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.3893, allocations: 12 kB / 1.091 GB, free: 2.348 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.3894, allocations: 16 kB / 1.091 GB, free: 2.332 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004137/0.3898, allocations: 130.7 kB / 1.091 GB, free: 2.195 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006351/0.3904, allocations: 191.7 kB / 1.091 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003106/0.3935, allocations: 4.161 MB / 1.095 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008918/0.3944, allocations: 119 kB / 1.095 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.454e-05/0.3945, allocations: 40 kB / 1.095 GB, free: 13.29 MB / 0.8575 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.0003072/0.3948, allocations: 261.5 kB / 1.095 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.395, allocations: 78.97 kB / 1.095 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.3951, allocations: 92.39 kB / 1.096 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.3951, allocations: 8 kB / 1.096 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.3951, allocations: 3.938 kB / 1.096 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3951, allocations: 4 kB / 1.096 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007703/0.3959, allocations: 0.6608 MB / 1.096 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3959, allocations: 0 / 1.096 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003492/0.3963, allocations: 55.95 kB / 1.096 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003166/0.3966, allocations: 106.5 kB / 1.096 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/0.3966, allocations: 11.94 kB / 1.096 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002984/0.3996, allocations: 4.126 MB / 1.1 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3996, allocations: 0 / 1.1 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.4008, allocations: 0.7398 MB / 1.101 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002865/0.4011, allocations: 207.9 kB / 1.101 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.4012, allocations: 8 kB / 1.101 GB, free: 6.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004874/0.4017, allocations: 23.97 kB / 1.101 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.776e-05/0.4018, allocations: 35.78 kB / 1.101 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.4018, allocations: 8 kB / 1.101 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0008441/0.4026, allocations: 0.6239 MB / 1.102 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4026, allocations: 0 / 1.102 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008645/0.4035, allocations: 271.7 kB / 1.102 GB, free: 5.473 MB / 0.8575 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.0001332/0.4037, allocations: 107.2 kB / 1.102 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0014/0.4051, allocations: 0.9278 MB / 1.103 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4051, allocations: 0 / 1.103 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006151/0.4057, allocations: 0.5123 MB / 1.104 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009236/0.4066, allocations: 170.3 kB / 1.104 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.4093, allocations: 1.977 MB / 1.106 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005632/0.4099, allocations: 0.9917 MB / 1.107 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004091/0.4103, allocations: 145.9 kB / 1.107 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.4105, allocations: 47.44 kB / 1.107 GB, free: 468 kB / 0.8575 GB Notification: Performance of SimCode: time 3.2e-07/0.4105, allocations: 0 / 1.107 GB, free: 468 kB / 0.8575 GB Notification: Performance of Templates: time 0.0202/0.4307, allocations: 9.653 MB / 1.116 GB, free: 6.91 MB / 0.8731 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