Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001123/0.001123, allocations: 112 kB / 16.41 MB, free: 6.484 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.001168/0.001168, allocations: 183 kB / 17.34 MB, free: 5.762 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.453/2.453, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 59.91 kB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8414/0.8429, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.004377/0.8473, allocations: 2.742 MB / 1.17 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004089/0.8514, allocations: 2.779 MB / 1.173 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000366/0.8518, allocations: 7.938 kB / 1.173 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.8533, allocations: 0.4921 MB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006932/0.8541, allocations: 250.9 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.8552, allocations: 400.3 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001805/0.857, allocations: 1.533 MB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002526/0.8573, allocations: 138.3 kB / 1.175 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007932/0.8581, allocations: 482.7 kB / 1.176 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007329/0.8588, allocations: 390.6 kB / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.859, allocations: 44 kB / 1.176 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001836/0.8592, allocations: 52 kB / 1.176 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003132/0.8595, allocations: 263.3 kB / 1.177 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005473/0.86, allocations: 382.1 kB / 1.177 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009622/0.861, allocations: 0.9113 MB / 1.178 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.861, allocations: 0 / 1.178 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.743e-06/0.861, allocations: 0 / 1.178 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.53e-05/0.8611, allocations: 0 / 1.178 GB, free: 9.004 MB / 0.9044 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.002505/0.8636, allocations: 1.152 MB / 1.179 GB, free: 7.801 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.8636, allocations: 8.031 kB / 1.179 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000191/0.8638, allocations: 80 kB / 1.179 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.865, allocations: 0.6721 MB / 1.18 GB, free: 7.004 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.8651, allocations: 28.88 kB / 1.18 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.51e-05/0.8652, allocations: 44.38 kB / 1.18 GB, free: 6.934 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005687/0.8657, allocations: 370.9 kB / 1.18 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.8658, allocations: 4 kB / 1.18 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.8658, allocations: 11.94 kB / 1.18 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.8658, allocations: 4 kB / 1.18 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003944/0.8662, allocations: 241.5 kB / 1.18 GB, free: 6.297 MB / 0.9044 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.003694/0.8699, allocations: 2.443 MB / 1.183 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009888/0.8709, allocations: 406.4 kB / 1.183 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.8711, allocations: 140.7 kB / 1.183 GB, free: 3.117 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.8712, allocations: 0 / 1.183 GB, free: 3.117 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.8712, allocations: 38.56 kB / 1.183 GB, free: 3.07 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 1.273e-06/0.8712, allocations: 0 / 1.183 GB, free: 3.07 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.000998/0.8722, allocations: 0.53 MB / 1.184 GB, free: 2.512 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.8723, allocations: 55.41 kB / 1.184 GB, free: 2.445 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.8735, allocations: 0.9414 MB / 1.185 GB, free: 1.496 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.8736, allocations: 33.7 kB / 1.185 GB, free: 1.457 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/0.8738, allocations: 296.5 kB / 1.185 GB, free: 1.164 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.478e-05/0.8739, allocations: 75 kB / 1.185 GB, free: 1.09 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.8741, allocations: 118.2 kB / 1.185 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.8742, allocations: 382.7 kB / 1.186 GB, free: 0.5859 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003431/0.8746, allocations: 240.9 kB / 1.186 GB, free: 352 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004974/0.8751, allocations: 0.5051 MB / 1.186 GB, free: 15.71 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007981/0.8759, allocations: 0.7041 MB / 1.187 GB, free: 14.88 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.8759, allocations: 7.938 kB / 1.187 GB, free: 14.88 MB / 0.92 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001223/0.8771, allocations: 0.811 MB / 1.188 GB, free: 14.05 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.8772, allocations: 11.94 kB / 1.188 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/0.8772, allocations: 16 kB / 1.188 GB, free: 14.03 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002248/0.8774, allocations: 52.83 kB / 1.188 GB, free: 13.97 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004507/0.8779, allocations: 139.7 kB / 1.188 GB, free: 13.84 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.8791, allocations: 1.543 MB / 1.19 GB, free: 12.15 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006993/0.8799, allocations: 127.3 kB / 1.19 GB, free: 12.03 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.463e-05/0.8799, allocations: 28 kB / 1.19 GB, free: 12 MB / 0.92 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.0003605/0.8803, allocations: 341.4 kB / 1.19 GB, free: 11.66 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.8804, allocations: 67.17 kB / 1.19 GB, free: 11.59 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001201/0.8805, allocations: 66 kB / 1.19 GB, free: 11.52 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.8805, allocations: 0 / 1.19 GB, free: 11.52 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.8806, allocations: 4 kB / 1.19 GB, free: 11.51 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.8806, allocations: 0 / 1.19 GB, free: 11.51 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006547/0.8812, allocations: 0.5791 MB / 1.191 GB, free: 10.88 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.8812, allocations: 0 / 1.191 GB, free: 10.88 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/0.8815, allocations: 59.83 kB / 1.191 GB, free: 10.82 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001223/0.8816, allocations: 36.83 kB / 1.191 GB, free: 10.79 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.8817, allocations: 11.98 kB / 1.191 GB, free: 10.77 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/0.8827, allocations: 1.531 MB / 1.192 GB, free: 9.105 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8828, allocations: 0 / 1.192 GB, free: 9.105 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007303/0.8835, allocations: 0.5755 MB / 1.193 GB, free: 8.516 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003168/0.8838, allocations: 204.2 kB / 1.193 GB, free: 8.297 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.114e-05/0.8839, allocations: 8 kB / 1.193 GB, free: 8.289 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/0.8843, allocations: 43.86 kB / 1.193 GB, free: 8.246 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.8844, allocations: 19.97 kB / 1.193 GB, free: 8.227 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.8844, allocations: 4 kB / 1.193 GB, free: 8.223 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000831/0.8852, allocations: 0.6668 MB / 1.194 GB, free: 7.559 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.9e-07/0.8852, allocations: 0 / 1.194 GB, free: 7.559 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000648/0.8859, allocations: 175.8 kB / 1.194 GB, free: 7.387 MB / 0.92 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.0001264/0.886, allocations: 104.4 kB / 1.194 GB, free: 7.277 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000897/0.8869, allocations: 0.5779 MB / 1.195 GB, free: 6.688 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.8869, allocations: 0.6875 kB / 1.195 GB, free: 6.688 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003154/0.8873, allocations: 250.5 kB / 1.195 GB, free: 6.43 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007991/0.8881, allocations: 162.9 kB / 1.195 GB, free: 6.27 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.8903, allocations: 1.57 MB / 1.197 GB, free: 4.668 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000567/0.8909, allocations: 0.9948 MB / 1.198 GB, free: 3.645 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.891, allocations: 43.44 kB / 1.198 GB, free: 3.602 MB / 0.92 GB Notification: Performance of SimCode: time 4.81e-07/0.8911, allocations: 0 / 1.198 GB, free: 3.602 MB / 0.92 GB Notification: Performance of Templates: time 0.0157/0.9068, allocations: 12.35 MB / 1.21 GB, free: 7.285 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches