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.001367/0.001367, allocations: 106.7 kB / 16.41 MB, free: 6.465 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.001333/0.001333, allocations: 187 kB / 17.34 MB, free: 5.723 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.08 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.413/2.413, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 55.91 kB / 1.019 GB, free: 9.484 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7701/0.7715, allocations: 151.6 MB / 1.167 GB, free: 4.078 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1718/0.9433, allocations: 162.4 MB / 1.326 GB, free: 1.031 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004695/0.9481, allocations: 2.909 MB / 1.329 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000685/0.9488, allocations: 11.94 kB / 1.329 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008448/0.9497, allocations: 218.8 kB / 1.329 GB, free: 13.89 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002361/0.9521, allocations: 0.8089 MB / 1.33 GB, free: 13.07 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009708/0.9531, allocations: 345.8 kB / 1.33 GB, free: 12.74 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001514/0.9546, allocations: 0.9428 MB / 1.331 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004731/0.9551, allocations: 254.3 kB / 1.331 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007423/0.9559, allocations: 346.6 kB / 1.332 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.9569, allocations: 290.8 kB / 1.332 GB, free: 10.92 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.269e-05/0.957, allocations: 40 kB / 1.332 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.9584, allocations: 0.643 MB / 1.332 GB, free: 10.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002134/0.9586, allocations: 131.6 kB / 1.333 GB, free: 10.11 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003332/0.959, allocations: 215 kB / 1.333 GB, free: 9.895 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001299/0.9603, allocations: 0.7517 MB / 1.334 GB, free: 9.141 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.9603, allocations: 0 / 1.334 GB, free: 9.141 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9603, allocations: 0 / 1.334 GB, free: 9.141 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.695e-05/0.9603, allocations: 0 / 1.334 GB, free: 9.141 MB / 1.061 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.001239/0.9616, allocations: 0.7128 MB / 1.334 GB, free: 8.379 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.9616, allocations: 12.86 kB / 1.334 GB, free: 8.367 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.9626, allocations: 139.4 kB / 1.334 GB, free: 8.23 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006236/0.9633, allocations: 418.2 kB / 1.335 GB, free: 7.781 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.9633, allocations: 24.56 kB / 1.335 GB, free: 7.758 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.756e-05/0.9634, allocations: 24 kB / 1.335 GB, free: 7.734 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004211/0.9638, allocations: 275.7 kB / 1.335 GB, free: 7.457 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.9638, allocations: 0 / 1.335 GB, free: 7.457 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.9638, allocations: 8 kB / 1.335 GB, free: 7.449 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.9639, allocations: 12.56 kB / 1.335 GB, free: 7.438 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000318/0.9642, allocations: 198.1 kB / 1.335 GB, free: 7.242 MB / 1.061 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.00166/0.9659, allocations: 1.322 MB / 1.337 GB, free: 5.777 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/0.9662, allocations: 190.9 kB / 1.337 GB, free: 5.582 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.9664, allocations: 88.83 kB / 1.337 GB, free: 5.492 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.9664, allocations: 8 kB / 1.337 GB, free: 5.484 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.9664, allocations: 34.55 kB / 1.337 GB, free: 5.441 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.382e-06/0.9664, allocations: 8 kB / 1.337 GB, free: 5.434 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.0009246/0.9674, allocations: 397 kB / 1.337 GB, free: 5.02 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.9674, allocations: 55.41 kB / 1.337 GB, free: 4.953 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/0.9677, allocations: 304.6 kB / 1.338 GB, free: 4.648 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.9678, allocations: 25.7 kB / 1.338 GB, free: 4.617 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.9679, allocations: 200.1 kB / 1.338 GB, free: 4.418 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.501e-05/0.968, allocations: 66.95 kB / 1.338 GB, free: 4.352 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.028e-05/0.9681, allocations: 49.61 kB / 1.338 GB, free: 4.297 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.9682, allocations: 338.8 kB / 1.338 GB, free: 3.957 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.9683, allocations: 67.91 kB / 1.338 GB, free: 3.891 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.9685, allocations: 114 kB / 1.338 GB, free: 3.758 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.9687, allocations: 208 kB / 1.339 GB, free: 3.535 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.9687, allocations: 0 / 1.339 GB, free: 3.535 MB / 1.061 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003751/0.9691, allocations: 241.1 kB / 1.339 GB, free: 3.293 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.9692, allocations: 15.88 kB / 1.339 GB, free: 3.277 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.9692, allocations: 0 / 1.339 GB, free: 3.277 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.9692, allocations: 4 kB / 1.339 GB, free: 3.273 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.9694, allocations: 43.92 kB / 1.339 GB, free: 3.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.9694, allocations: 8.172 kB / 1.339 GB, free: 3.223 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/0.9697, allocations: 15.84 kB / 1.339 GB, free: 3.207 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.9697, allocations: 8 kB / 1.339 GB, free: 3.199 MB / 1.061 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.0001553/0.9699, allocations: 161.8 kB / 1.339 GB, free: 3.031 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.327e-05/0.9699, allocations: 35.56 kB / 1.339 GB, free: 2.996 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.401e-05/0.97, allocations: 35.08 kB / 1.339 GB, free: 2.953 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.97, allocations: 4 kB / 1.339 GB, free: 2.949 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.97, allocations: 0 / 1.339 GB, free: 2.949 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.97, allocations: 3.984 kB / 1.339 GB, free: 2.945 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004953/0.9705, allocations: 405.3 kB / 1.34 GB, free: 2.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.9706, allocations: 0 / 1.34 GB, free: 2.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.9707, allocations: 35.92 kB / 1.34 GB, free: 2.465 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002199/0.971, allocations: 44.77 kB / 1.34 GB, free: 2.418 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.971, allocations: 8 kB / 1.34 GB, free: 2.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001266/0.9723, allocations: 1.516 MB / 1.341 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.9723, allocations: 0 / 1.341 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005634/0.9729, allocations: 406.9 kB / 1.342 GB, free: 352 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.973, allocations: 128.7 kB / 1.342 GB, free: 204 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.042e-05/0.9731, allocations: 11.94 kB / 1.342 GB, free: 192 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.9733, allocations: 3.984 kB / 1.342 GB, free: 188 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.9734, allocations: 19.94 kB / 1.342 GB, free: 168 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.9734, allocations: 4 kB / 1.342 GB, free: 164 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002386/0.9736, allocations: 215.1 kB / 1.342 GB, free: 15.95 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9737, allocations: 11.94 kB / 1.342 GB, free: 15.94 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004303/0.9741, allocations: 103.8 kB / 1.342 GB, free: 15.84 MB / 1.076 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.0002067/0.9743, allocations: 123.2 kB / 1.342 GB, free: 15.71 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003021/0.9746, allocations: 158.1 kB / 1.342 GB, free: 15.56 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.9746, allocations: 0 / 1.342 GB, free: 15.56 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003109/0.9749, allocations: 198.6 kB / 1.342 GB, free: 15.35 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009602/0.9759, allocations: 198.2 kB / 1.343 GB, free: 15.16 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.9772, allocations: 0.7625 MB / 1.343 GB, free: 14.37 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.9776, allocations: 0.7998 MB / 1.344 GB, free: 13.55 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.015e-05/0.9777, allocations: 27.44 kB / 1.344 GB, free: 13.52 MB / 1.076 GB Notification: Performance of SimCode: time 3.6e-07/0.9777, allocations: 0 / 1.344 GB, free: 13.52 MB / 1.076 GB Notification: Performance of Templates: time 0.009173/0.9869, allocations: 5.746 MB / 1.35 GB, free: 7.824 MB / 1.076 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches