Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_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_latest_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.001357/0.001357, allocations: 106.3 kB / 16.36 MB, free: 6.285 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.001296/0.001297, allocations: 193.7 kB / 17.29 MB, free: 5.863 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.419/2.419, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 64.44 kB / 0.8773 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2879, allocations: 153 MB / 1.027 GB, free: 2.109 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.6961/0.9841, allocations: 162.4 MB / 1.185 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005205/0.9894, allocations: 2.909 MB / 1.188 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007924/0.9902, allocations: 19.41 kB / 1.188 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008531/0.9911, allocations: 205.9 kB / 1.188 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002297/0.9934, allocations: 0.7716 MB / 1.189 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009406/0.9944, allocations: 348 kB / 1.189 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00154/0.9959, allocations: 0.9283 MB / 1.19 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004778/0.9964, allocations: 263.3 kB / 1.191 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000666/0.9971, allocations: 333.4 kB / 1.191 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.9982, allocations: 290.2 kB / 1.191 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.588e-05/0.9983, allocations: 33.41 kB / 1.191 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/0.9997, allocations: 0.6471 MB / 1.192 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002226/1, allocations: 128.4 kB / 1.192 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004075/1, allocations: 222.7 kB / 1.192 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001303/1.002, allocations: 0.7449 MB / 1.193 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.002, allocations: 0 / 1.193 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.523e-06/1.002, allocations: 0 / 1.193 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.623e-05/1.002, allocations: 0 / 1.193 GB, free: 12.07 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001545/1.003, allocations: 0.7229 MB / 1.194 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/1.003, allocations: 9.781 kB / 1.194 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/1.005, allocations: 137.8 kB / 1.194 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008225/1.005, allocations: 416.9 kB / 1.194 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/1.005, allocations: 18.19 kB / 1.194 GB, free: 11 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.71e-05/1.006, allocations: 28.44 kB / 1.194 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005102/1.006, allocations: 282.5 kB / 1.194 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/1.006, allocations: 0 / 1.194 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.57e-05/1.006, allocations: 11.66 kB / 1.194 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/1.006, allocations: 9.25 kB / 1.195 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003946/1.007, allocations: 193.5 kB / 1.195 GB, free: 10.71 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.002127/1.009, allocations: 1.319 MB / 1.196 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004144/1.009, allocations: 195.2 kB / 1.196 GB, free: 9.371 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/1.009, allocations: 91.67 kB / 1.196 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/1.009, allocations: 1.375 kB / 1.196 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.001e-05/1.009, allocations: 43.88 kB / 1.196 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=19): time 2.054e-06/1.009, allocations: 1.375 kB / 1.196 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of matching and sorting (n=19): time 0.001031/1.01, allocations: 399 kB / 1.197 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/1.01, allocations: 56.78 kB / 1.197 GB, free: 8.938 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003462/1.011, allocations: 298.3 kB / 1.197 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/1.011, allocations: 32.17 kB / 1.197 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/1.011, allocations: 193.5 kB / 1.197 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.371e-05/1.011, allocations: 76.41 kB / 1.197 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.026e-05/1.011, allocations: 45.08 kB / 1.197 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001168/1.011, allocations: 338.1 kB / 1.198 GB, free: 8.094 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/1.011, allocations: 67.03 kB / 1.198 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/1.012, allocations: 113.6 kB / 1.198 GB, free: 7.965 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/1.012, allocations: 199.1 kB / 1.198 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/1.012, allocations: 2.719 kB / 1.198 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000369/1.012, allocations: 252.6 kB / 1.198 GB, free: 7.684 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/1.012, allocations: 13.27 kB / 1.198 GB, free: 7.676 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/1.012, allocations: 0 / 1.198 GB, free: 7.676 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/1.012, allocations: 5.531 kB / 1.198 GB, free: 7.676 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/1.012, allocations: 45.36 kB / 1.198 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/1.013, allocations: 4.406 kB / 1.198 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/1.013, allocations: 14.84 kB / 1.198 GB, free: 7.652 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/1.013, allocations: 7.062 kB / 1.198 GB, free: 7.652 MB / 0.9044 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.0001711/1.013, allocations: 166.3 kB / 1.199 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/1.013, allocations: 34.25 kB / 1.199 GB, free: 7.48 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.742e-05/1.013, allocations: 36.83 kB / 1.199 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/1.013, allocations: 3.219 kB / 1.199 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/1.013, allocations: 4 kB / 1.199 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/1.013, allocations: 3.984 kB / 1.199 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005555/1.014, allocations: 417.8 kB / 1.199 GB, free: 7.074 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/1.014, allocations: 0 / 1.199 GB, free: 7.074 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/1.014, allocations: 29.42 kB / 1.199 GB, free: 7.07 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002345/1.014, allocations: 44.77 kB / 1.199 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/1.014, allocations: 4 kB / 1.199 GB, free: 7.039 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/1.016, allocations: 1.512 MB / 1.201 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.016, allocations: 0 / 1.201 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005759/1.016, allocations: 406 kB / 1.201 GB, free: 5.234 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/1.016, allocations: 130.6 kB / 1.201 GB, free: 5.102 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/1.016, allocations: 7.875 kB / 1.201 GB, free: 5.094 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00026/1.017, allocations: 8.75 kB / 1.201 GB, free: 5.09 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/1.017, allocations: 17.25 kB / 1.201 GB, free: 5.078 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/1.017, allocations: 3.469 kB / 1.201 GB, free: 5.078 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002039/1.017, allocations: 221.8 kB / 1.201 GB, free: 4.934 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/1.017, allocations: 0 / 1.201 GB, free: 4.934 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004225/1.017, allocations: 104.1 kB / 1.201 GB, free: 4.918 MB / 0.9044 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.0001979/1.018, allocations: 118.9 kB / 1.202 GB, free: 4.812 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000287/1.018, allocations: 170.2 kB / 1.202 GB, free: 4.734 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.018, allocations: 3.312 kB / 1.202 GB, free: 4.734 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003084/1.018, allocations: 195.1 kB / 1.202 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009295/1.019, allocations: 201.9 kB / 1.202 GB, free: 4.484 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/1.02, allocations: 0.7265 MB / 1.203 GB, free: 3.965 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/1.021, allocations: 0.7936 MB / 1.204 GB, free: 3.215 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002294/1.021, allocations: 57.22 kB / 1.204 GB, free: 3.191 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.801e-05/1.021, allocations: 25.84 kB / 1.204 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/1.021, allocations: 0 / 1.204 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of Templates: time 0.01134/1.032, allocations: 6.094 MB / 1.21 GB, free: 184 kB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches