Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.388/2.388, allocations: 390.2 MB / 0.6646 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 63.89 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6597/0.6609, allocations: 140.3 MB / 0.9496 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1803/0.8412, allocations: 162.4 MB / 1.108 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.004947/0.8462, allocations: 2.915 MB / 1.111 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007896/0.8471, allocations: 15.94 kB / 1.111 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0008544/0.8479, allocations: 202.8 kB / 1.111 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002336/0.8503, allocations: 0.7777 MB / 1.112 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009796/0.8513, allocations: 338.3 kB / 1.112 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001426/0.8528, allocations: 0.9429 MB / 1.113 GB, free: 9.684 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004609/0.8532, allocations: 254.2 kB / 1.113 GB, free: 9.43 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006648/0.8539, allocations: 342.6 kB / 1.114 GB, free: 9.094 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009532/0.8549, allocations: 283.2 kB / 1.114 GB, free: 8.82 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.186e-05/0.855, allocations: 32 kB / 1.114 GB, free: 8.789 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.8562, allocations: 0.643 MB / 1.115 GB, free: 8.145 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.8564, allocations: 127.6 kB / 1.115 GB, free: 8.02 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002684/0.8567, allocations: 219 kB / 1.115 GB, free: 7.805 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.8578, allocations: 0.7363 MB / 1.116 GB, free: 7.066 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.8579, allocations: 0 / 1.116 GB, free: 7.066 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.265e-06/0.8579, allocations: 4 kB / 1.116 GB, free: 7.062 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.8579, allocations: 0 / 1.116 GB, free: 7.062 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001118/0.859, allocations: 0.7204 MB / 1.116 GB, free: 6.293 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.859, allocations: 8.031 kB / 1.116 GB, free: 6.285 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.8601, allocations: 135.4 kB / 1.117 GB, free: 6.152 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000546/0.8606, allocations: 402.4 kB / 1.117 GB, free: 5.715 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.8607, allocations: 20.56 kB / 1.117 GB, free: 5.695 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.132e-05/0.8607, allocations: 27.98 kB / 1.117 GB, free: 5.668 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004302/0.8611, allocations: 275.7 kB / 1.117 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.8612, allocations: 7.844 kB / 1.117 GB, free: 5.383 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.998e-05/0.8612, allocations: 12 kB / 1.117 GB, free: 5.371 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.8612, allocations: 8.562 kB / 1.117 GB, free: 5.363 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003327/0.8616, allocations: 194.1 kB / 1.118 GB, free: 5.168 MB / 0.8731 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.001841/0.8634, allocations: 1.323 MB / 1.119 GB, free: 3.703 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003889/0.8638, allocations: 203.4 kB / 1.119 GB, free: 3.496 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.864, allocations: 92.81 kB / 1.119 GB, free: 3.402 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.864, allocations: 0 / 1.119 GB, free: 3.402 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.864, allocations: 42.56 kB / 1.119 GB, free: 3.352 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 1.082e-06/0.864, allocations: 0 / 1.119 GB, free: 3.352 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.0009379/0.865, allocations: 404.7 kB / 1.12 GB, free: 2.93 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.865, allocations: 55.41 kB / 1.12 GB, free: 2.863 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.8654, allocations: 296.6 kB / 1.12 GB, free: 2.566 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.8654, allocations: 33.7 kB / 1.12 GB, free: 2.527 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.8655, allocations: 200 kB / 1.12 GB, free: 2.328 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.636e-05/0.8656, allocations: 70.94 kB / 1.12 GB, free: 2.258 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-05/0.8657, allocations: 45.7 kB / 1.12 GB, free: 2.207 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.8658, allocations: 338.8 kB / 1.121 GB, free: 1.867 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.8659, allocations: 63.97 kB / 1.121 GB, free: 1.805 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.8661, allocations: 123.9 kB / 1.121 GB, free: 1.664 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.8664, allocations: 195.9 kB / 1.121 GB, free: 1.453 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.8664, allocations: 4 kB / 1.121 GB, free: 1.449 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003758/0.8667, allocations: 242.9 kB / 1.121 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.8668, allocations: 11.94 kB / 1.121 GB, free: 1.195 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.8668, allocations: 0 / 1.121 GB, free: 1.195 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.8668, allocations: 4 kB / 1.121 GB, free: 1.191 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.867, allocations: 43.92 kB / 1.121 GB, free: 1.148 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.892e-05/0.867, allocations: 4 kB / 1.121 GB, free: 1.145 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.8673, allocations: 15.84 kB / 1.121 GB, free: 1.129 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.8673, allocations: 12.12 kB / 1.121 GB, free: 1.117 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000179/0.8675, allocations: 157.8 kB / 1.121 GB, free: 0.9531 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.745e-05/0.8676, allocations: 35.56 kB / 1.121 GB, free: 0.918 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.773e-05/0.8677, allocations: 35.08 kB / 1.121 GB, free: 0.8867 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.8677, allocations: 4 kB / 1.121 GB, free: 0.8828 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.8677, allocations: 0 / 1.121 GB, free: 0.8828 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.8677, allocations: 0 / 1.121 GB, free: 0.8828 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005363/0.8683, allocations: 413.1 kB / 1.122 GB, free: 440 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.8683, allocations: 0 / 1.122 GB, free: 440 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.8685, allocations: 39.92 kB / 1.122 GB, free: 400 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002349/0.8687, allocations: 48.77 kB / 1.122 GB, free: 348 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.8687, allocations: 4 kB / 1.122 GB, free: 344 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/0.8701, allocations: 1.508 MB / 1.123 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.8701, allocations: 4.031 kB / 1.123 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005883/0.8707, allocations: 401.4 kB / 1.124 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.8709, allocations: 140.6 kB / 1.124 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.906e-05/0.8709, allocations: 7.938 kB / 1.124 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.8712, allocations: 4 kB / 1.124 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.8712, allocations: 19.92 kB / 1.124 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.8712, allocations: 4 kB / 1.124 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002289/0.8715, allocations: 219.1 kB / 1.124 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1e-07/0.8715, allocations: 0 / 1.124 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003973/0.8719, allocations: 111.8 kB / 1.124 GB, free: 13.76 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001984/0.8721, allocations: 123.2 kB / 1.124 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003136/0.8724, allocations: 167.8 kB / 1.125 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.8724, allocations: 0 / 1.125 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003111/0.8727, allocations: 205.1 kB / 1.125 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009429/0.8737, allocations: 197.5 kB / 1.125 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.8749, allocations: 0.7275 MB / 1.126 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.8753, allocations: 0.7998 MB / 1.126 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002433/0.8755, allocations: 55.25 kB / 1.126 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.189e-05/0.8756, allocations: 27.44 kB / 1.126 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of SimCode: time 3.61e-07/0.8756, allocations: 0 / 1.126 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of Templates: time 0.01177/0.8874, allocations: 6.093 MB / 1.132 GB, free: 5.426 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches