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.008747/0.008747, allocations: 102 kB / 15.73 MB, free: 5.516 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.001874/0.001874, allocations: 192 kB / 16.67 MB, free: 5.449 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.394/1.394, allocations: 222.9 MB / 240.3 MB, free: 15.07 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.626/2.626, allocations: 437 MB / 0.7105 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002309/0.002309, allocations: 67.84 kB / 1.018 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8391/0.8414, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.003789/0.8453, allocations: 2.747 MB / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003847/0.8491, allocations: 2.785 MB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002422/0.8494, allocations: 11.94 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00143/0.8508, allocations: 486.1 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005105/0.8514, allocations: 254.8 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.8525, allocations: 404.3 kB / 1.173 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001748/0.8542, allocations: 1.534 MB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000228/0.8545, allocations: 138.3 kB / 1.175 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006345/0.8551, allocations: 470.8 kB / 1.175 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005779/0.8557, allocations: 382.6 kB / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.678e-05/0.8558, allocations: 44 kB / 1.176 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.8559, allocations: 52 kB / 1.176 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003144/0.8562, allocations: 271.2 kB / 1.176 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003871/0.8566, allocations: 378.2 kB / 1.176 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009221/0.8576, allocations: 0.9185 MB / 1.177 GB, free: 8.984 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.8576, allocations: 0 / 1.177 GB, free: 8.984 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.224e-06/0.8576, allocations: 0 / 1.177 GB, free: 8.984 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.8576, allocations: 0 / 1.177 GB, free: 8.984 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.002122/0.8597, allocations: 1.167 MB / 1.178 GB, free: 7.766 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.8598, allocations: 8.031 kB / 1.178 GB, free: 7.758 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.8599, allocations: 84.42 kB / 1.178 GB, free: 7.676 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009579/0.8609, allocations: 0.6803 MB / 1.179 GB, free: 6.957 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.8609, allocations: 24.94 kB / 1.179 GB, free: 6.934 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.114e-05/0.861, allocations: 40.38 kB / 1.179 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005435/0.8615, allocations: 382.8 kB / 1.179 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.8616, allocations: 0 / 1.179 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.8616, allocations: 12 kB / 1.179 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.8616, allocations: 4 kB / 1.179 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003899/0.862, allocations: 233.5 kB / 1.18 GB, free: 6.258 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.003499/0.8655, allocations: 2.456 MB / 1.182 GB, free: 3.613 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000961/0.8665, allocations: 401.7 kB / 1.182 GB, free: 3.215 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.8667, allocations: 141 kB / 1.183 GB, free: 3.074 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.8667, allocations: 3.906 kB / 1.183 GB, free: 3.07 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.8668, allocations: 42.48 kB / 1.183 GB, free: 3.02 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 1.333e-06/0.8668, allocations: 0 / 1.183 GB, free: 3.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.0009806/0.8678, allocations: 0.5365 MB / 1.183 GB, free: 2.457 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.8678, allocations: 55.41 kB / 1.183 GB, free: 2.391 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.869, allocations: 0.9376 MB / 1.184 GB, free: 1.445 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.869, allocations: 33.7 kB / 1.184 GB, free: 1.406 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002476/0.8692, allocations: 300.8 kB / 1.184 GB, free: 1.109 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.752e-05/0.8693, allocations: 75.36 kB / 1.185 GB, free: 1.035 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.8695, allocations: 130.1 kB / 1.185 GB, free: 0.9023 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.8697, allocations: 386.7 kB / 1.185 GB, free: 0.5156 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003535/0.8701, allocations: 240.9 kB / 1.185 GB, free: 280 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005216/0.8706, allocations: 0.5051 MB / 1.186 GB, free: 15.64 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007965/0.8714, allocations: 0.7008 MB / 1.186 GB, free: 14.82 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.8714, allocations: 4 kB / 1.186 GB, free: 14.81 MB / 0.92 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001147/0.8726, allocations: 0.8241 MB / 1.187 GB, free: 13.98 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.8726, allocations: 8 kB / 1.187 GB, free: 13.97 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.8726, allocations: 12 kB / 1.187 GB, free: 13.96 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001996/0.8728, allocations: 53.39 kB / 1.187 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004454/0.8733, allocations: 135.8 kB / 1.187 GB, free: 13.77 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.8746, allocations: 1.55 MB / 1.189 GB, free: 12.08 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006237/0.8752, allocations: 123.4 kB / 1.189 GB, free: 11.96 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.8752, allocations: 28 kB / 1.189 GB, free: 11.93 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.0003193/0.8756, allocations: 338 kB / 1.189 GB, free: 11.59 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-05/0.8757, allocations: 75.56 kB / 1.189 GB, free: 11.52 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.8758, allocations: 70 kB / 1.19 GB, free: 11.44 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.8758, allocations: 0 / 1.19 GB, free: 11.44 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.8758, allocations: 4 kB / 1.19 GB, free: 11.44 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.8758, allocations: 3.984 kB / 1.19 GB, free: 11.43 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006241/0.8764, allocations: 0.5714 MB / 1.19 GB, free: 10.81 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.8764, allocations: 0 / 1.19 GB, free: 10.81 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002471/0.8767, allocations: 51.89 kB / 1.19 GB, free: 10.76 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001187/0.8768, allocations: 44.83 kB / 1.19 GB, free: 10.71 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.8769, allocations: 11.98 kB / 1.19 GB, free: 10.7 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/0.878, allocations: 1.527 MB / 1.192 GB, free: 9.039 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.878, allocations: 0 / 1.192 GB, free: 9.039 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007589/0.8788, allocations: 0.5737 MB / 1.192 GB, free: 8.445 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002394/0.8791, allocations: 204.6 kB / 1.192 GB, free: 8.227 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.848e-05/0.8791, allocations: 16.08 kB / 1.192 GB, free: 8.211 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003802/0.8795, allocations: 47.98 kB / 1.193 GB, free: 8.164 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.8796, allocations: 15.98 kB / 1.193 GB, free: 8.148 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.8796, allocations: 0 / 1.193 GB, free: 8.148 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008424/0.8805, allocations: 0.6629 MB / 1.193 GB, free: 7.488 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8805, allocations: 3.938 kB / 1.193 GB, free: 7.484 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005946/0.8811, allocations: 179.9 kB / 1.193 GB, free: 7.309 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.0001196/0.8812, allocations: 115.1 kB / 1.193 GB, free: 7.188 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008525/0.8821, allocations: 0.57 MB / 1.194 GB, free: 6.605 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.8821, allocations: 0 / 1.194 GB, free: 6.605 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003162/0.8824, allocations: 253 kB / 1.194 GB, free: 6.348 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000776/0.8832, allocations: 167.7 kB / 1.194 GB, free: 6.184 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.8853, allocations: 1.536 MB / 1.196 GB, free: 4.617 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000593/0.8859, allocations: 1.003 MB / 1.197 GB, free: 3.586 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.000365/0.8863, allocations: 180.5 kB / 1.197 GB, free: 3.406 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.8864, allocations: 39.44 kB / 1.197 GB, free: 3.367 MB / 0.92 GB Notification: Performance of SimCode: time 2.21e-07/0.8864, allocations: 0 / 1.197 GB, free: 3.367 MB / 0.92 GB Notification: Performance of Templates: time 0.0142/0.9007, allocations: 8.526 MB / 1.205 GB, free: 10.96 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches