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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002016/0.002017, allocations: 195.6 kB / 16.14 MB, free: 6.711 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.427/1.427, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.776/2.776, allocations: 461.9 MB / 0.7342 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 66.59 kB / 0.8984 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3335, allocations: 157.4 MB / 1.052 GB, free: 8.836 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.005717/0.3393, allocations: 2.789 MB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005655/0.3449, allocations: 2.804 MB / 1.058 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003074/0.3453, allocations: 7.938 kB / 1.058 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001956/0.3472, allocations: 466.3 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0007884/0.3481, allocations: 243 kB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.3493, allocations: 330.6 kB / 1.059 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.002596/0.3519, allocations: 1.719 MB / 1.06 GB, free: 476 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000304/0.3522, allocations: 122.9 kB / 1.06 GB, free: 352 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007814/0.353, allocations: 402.9 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006867/0.3537, allocations: 402.5 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.169e-05/0.3538, allocations: 24 kB / 1.061 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.354, allocations: 28 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003656/0.3544, allocations: 243.2 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0005178/0.3549, allocations: 334.2 kB / 1.062 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.356, allocations: 0.8684 MB / 1.063 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.356, allocations: 0 / 1.063 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of FrontEnd: time 5.78e-06/0.356, allocations: 0 / 1.063 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.512e-05/0.3561, allocations: 7.875 kB / 1.063 GB, free: 14.06 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002863/0.3589, allocations: 1.144 MB / 1.064 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.359, allocations: 8.031 kB / 1.064 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/0.3592, allocations: 80 kB / 1.064 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.3606, allocations: 0.6487 MB / 1.064 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/0.3606, allocations: 32.94 kB / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.3607, allocations: 40.36 kB / 1.064 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008055/0.3616, allocations: 374.8 kB / 1.065 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.3616, allocations: 3.984 kB / 1.065 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.101e-05/0.3616, allocations: 12 kB / 1.065 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.3617, allocations: 12 kB / 1.065 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005979/0.3623, allocations: 233.5 kB / 1.065 GB, free: 11.37 MB / 0.8262 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005008/0.3673, allocations: 2.459 MB / 1.067 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.3689, allocations: 394.5 kB / 1.068 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003641/0.3693, allocations: 144.7 kB / 1.068 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/0.3693, allocations: 0 / 1.068 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/0.3694, allocations: 42.42 kB / 1.068 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.3694, allocations: 0 / 1.068 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.00146/0.3709, allocations: 0.5359 MB / 1.069 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.3709, allocations: 51.41 kB / 1.069 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/0.3728, allocations: 0.9376 MB / 1.07 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.722e-05/0.3728, allocations: 33.7 kB / 1.07 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003685/0.3732, allocations: 304.4 kB / 1.07 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.3733, allocations: 59.11 kB / 1.07 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/0.3736, allocations: 130.1 kB / 1.07 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002557/0.3739, allocations: 386.7 kB / 1.07 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005479/0.3744, allocations: 244.8 kB / 1.071 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007844/0.3752, allocations: 0.4975 MB / 1.071 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.3765, allocations: 0.6973 MB / 1.072 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.3765, allocations: 4 kB / 1.072 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001868/0.3784, allocations: 0.8133 MB / 1.073 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.3784, allocations: 8 kB / 1.073 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.3785, allocations: 12 kB / 1.073 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002769/0.3787, allocations: 49.48 kB / 1.073 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007029/0.3795, allocations: 147.7 kB / 1.073 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/0.3812, allocations: 1.436 MB / 1.074 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.3823, allocations: 119.3 kB / 1.074 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.923e-05/0.3823, allocations: 28 kB / 1.074 GB, free: 1.199 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005513/0.3829, allocations: 341.3 kB / 1.075 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.3831, allocations: 59.25 kB / 1.075 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.3832, allocations: 78 kB / 1.075 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.3832, allocations: 3.938 kB / 1.075 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3832, allocations: 0 / 1.075 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.3833, allocations: 7.984 kB / 1.075 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009967/0.3843, allocations: 0.5791 MB / 1.075 GB, free: 68 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3843, allocations: 3.984 kB / 1.075 GB, free: 64 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003975/0.3847, allocations: 47.91 kB / 1.075 GB, free: 16 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002058/0.3849, allocations: 44.81 kB / 1.075 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.614e-05/0.385, allocations: 8 kB / 1.075 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001555/0.3865, allocations: 1.416 MB / 1.077 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3866, allocations: 0 / 1.077 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.3877, allocations: 0.5632 MB / 1.077 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004112/0.3882, allocations: 200.3 kB / 1.078 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.3883, allocations: 11.98 kB / 1.078 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006669/0.389, allocations: 55.86 kB / 1.078 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.509e-05/0.3891, allocations: 11.98 kB / 1.078 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.3891, allocations: 4 kB / 1.078 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001415/0.3905, allocations: 0.659 MB / 1.078 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3e-07/0.3905, allocations: 7.938 kB / 1.078 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001127/0.3917, allocations: 179.8 kB / 1.078 GB, free: 12.7 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0002011/0.3919, allocations: 115.2 kB / 1.079 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001369/0.3933, allocations: 0.5724 MB / 1.079 GB, free: 12 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3933, allocations: 4 kB / 1.079 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000483/0.3938, allocations: 246.5 kB / 1.079 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/0.3951, allocations: 159.2 kB / 1.08 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003451/0.3986, allocations: 1.704 MB / 1.081 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009054/0.3995, allocations: 1.007 MB / 1.082 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0007301/0.4002, allocations: 188.4 kB / 1.082 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.4005, allocations: 43.42 kB / 1.082 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of SimCode: time 6.91e-07/0.4005, allocations: 0 / 1.082 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of Templates: time 0.0239/0.4244, allocations: 8.08 MB / 1.09 GB, free: 0.6211 MB / 0.8419 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches