Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_10_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_10_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.0008048/0.0008047, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005232/0.005232, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.331/1.331, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.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.515/2.516, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003447, allocations: 8 kB / 0.8728 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6711/0.6715, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.163/0.8345, allocations: 158.1 MB / 1.177 GB, free: 1.18 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004345/0.8389, allocations: 2.919 MB / 1.18 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005081/0.8394, allocations: 15.88 kB / 1.18 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006005/0.84, allocations: 175.1 kB / 1.18 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.8419, allocations: 0.7276 MB / 1.181 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007591/0.8426, allocations: 311.3 kB / 1.181 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001375/0.844, allocations: 1.231 MB / 1.183 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000312/0.8443, allocations: 214.2 kB / 1.183 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004379/0.8448, allocations: 278.7 kB / 1.183 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008272/0.8456, allocations: 287.3 kB / 1.183 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.005e-05/0.8457, allocations: 12 kB / 1.183 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.847, allocations: 0.7519 MB / 1.184 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.8471, allocations: 107.7 kB / 1.184 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002138/0.8473, allocations: 212.7 kB / 1.184 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009074/0.8483, allocations: 0.7554 MB / 1.185 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.8483, allocations: 0 / 1.185 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8483, allocations: 3.938 kB / 1.185 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.8483, allocations: 4 kB / 1.185 GB, free: 9.18 MB / 0.9356 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.0009884/0.8493, allocations: 0.6388 MB / 1.186 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.8493, allocations: 8.031 kB / 1.186 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009803/0.8503, allocations: 139.3 kB / 1.186 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005483/0.8509, allocations: 406.4 kB / 1.186 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.8509, allocations: 20.5 kB / 1.186 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.935e-05/0.851, allocations: 24 kB / 1.186 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004431/0.8514, allocations: 279.6 kB / 1.187 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.8514, allocations: 0 / 1.187 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.118e-05/0.8515, allocations: 15.94 kB / 1.187 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.239e-05/0.8515, allocations: 12.55 kB / 1.187 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003281/0.8518, allocations: 202.1 kB / 1.187 GB, free: 7.355 MB / 0.9356 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.001636/0.8535, allocations: 1.322 MB / 1.188 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00037/0.8539, allocations: 190.9 kB / 1.188 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.854, allocations: 88.83 kB / 1.188 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.8541, allocations: 4 kB / 1.188 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.8541, allocations: 42.48 kB / 1.188 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=19): time 1.623e-06/0.8541, allocations: 0 / 1.188 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.0009005/0.855, allocations: 397 kB / 1.189 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.855, allocations: 55.41 kB / 1.189 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003062/0.8554, allocations: 308.4 kB / 1.189 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.8554, allocations: 29.7 kB / 1.189 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.8555, allocations: 196.1 kB / 1.189 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.524e-05/0.8556, allocations: 70.94 kB / 1.189 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.8556, allocations: 29.7 kB / 1.189 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.8558, allocations: 338.8 kB / 1.19 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.8559, allocations: 59.97 kB / 1.19 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.856, allocations: 123.2 kB / 1.19 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.8563, allocations: 193 kB / 1.19 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.8563, allocations: 3.938 kB / 1.19 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003681/0.8567, allocations: 245.1 kB / 1.19 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.8567, allocations: 7.938 kB / 1.19 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.8567, allocations: 4 kB / 1.19 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.8567, allocations: 0 / 1.19 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.8569, allocations: 47.92 kB / 1.19 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.8569, allocations: 4.188 kB / 1.19 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/0.8572, allocations: 27.83 kB / 1.19 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.8573, allocations: 11.94 kB / 1.19 GB, free: 3.328 MB / 0.9356 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.0001543/0.8574, allocations: 157.8 kB / 1.191 GB, free: 3.164 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.885e-05/0.8575, allocations: 35.56 kB / 1.191 GB, free: 3.129 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.442e-05/0.8576, allocations: 39.08 kB / 1.191 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.8576, allocations: 0 / 1.191 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.8576, allocations: 8 kB / 1.191 GB, free: 3.086 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.8576, allocations: 0 / 1.191 GB, free: 3.086 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004897/0.8581, allocations: 405.2 kB / 1.191 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.8581, allocations: 3.984 kB / 1.191 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.8583, allocations: 31.92 kB / 1.191 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002096/0.8585, allocations: 52.69 kB / 1.191 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.8585, allocations: 4 kB / 1.191 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.8597, allocations: 1.409 MB / 1.193 GB, free: 1 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.8597, allocations: 0 / 1.193 GB, free: 1 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005487/0.8603, allocations: 405.8 kB / 1.193 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.8604, allocations: 124.8 kB / 1.193 GB, free: 456 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.8605, allocations: 4 kB / 1.193 GB, free: 452 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.8607, allocations: 15.89 kB / 1.193 GB, free: 436 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.8608, allocations: 19.92 kB / 1.193 GB, free: 416 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.8608, allocations: 4 kB / 1.193 GB, free: 412 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002049/0.861, allocations: 219.1 kB / 1.193 GB, free: 196 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.861, allocations: 0 / 1.193 GB, free: 196 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004/0.8614, allocations: 99.84 kB / 1.193 GB, free: 96 kB / 0.9356 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.0001969/0.8616, allocations: 126 kB / 1.194 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000297/0.8619, allocations: 169.7 kB / 1.194 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.862, allocations: 4 kB / 1.194 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002914/0.8623, allocations: 194.6 kB / 1.194 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.8633, allocations: 185.5 kB / 1.194 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.8645, allocations: 0.9215 MB / 1.195 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.8649, allocations: 0.7962 MB / 1.196 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000254/0.8652, allocations: 59.25 kB / 1.196 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.717e-05/0.8652, allocations: 27.44 kB / 1.196 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of SimCode: time 4.21e-07/0.8652, allocations: 7.938 kB / 1.196 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of Templates: time 0.01617/0.8814, allocations: 5.786 MB / 1.201 GB, free: 7.863 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches