Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005152/0.005152, allocations: 99.58 kB / 15.73 MB, free: 6.043 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.001144/0.001144, allocations: 200.8 kB / 16.68 MB, free: 5.965 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.805/2.805, allocations: 469.8 MB / 0.7425 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 63.89 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3866, allocations: 159.1 MB / 1.221 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 1.091/1.478, allocations: 162.8 MB / 1.38 GB, free: 6.148 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.006369/1.484, allocations: 2.937 MB / 1.382 GB, free: 4.078 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/1.485, allocations: 14.56 kB / 1.382 GB, free: 4.074 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001072/1.486, allocations: 211.3 kB / 1.383 GB, free: 3.965 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003242/1.489, allocations: 0.808 MB / 1.383 GB, free: 3.34 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001237/1.491, allocations: 338.5 kB / 1.384 GB, free: 3.078 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002103/1.493, allocations: 0.9348 MB / 1.385 GB, free: 2.535 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006092/1.493, allocations: 220 kB / 1.385 GB, free: 2.379 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/1.494, allocations: 355.9 kB / 1.385 GB, free: 2.168 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/1.496, allocations: 282.5 kB / 1.386 GB, free: 2.004 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/1.496, allocations: 37.03 kB / 1.386 GB, free: 2 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001835/1.498, allocations: 0.6442 MB / 1.386 GB, free: 1.648 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003053/1.498, allocations: 137.3 kB / 1.386 GB, free: 1.551 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005401/1.499, allocations: 214.5 kB / 1.387 GB, free: 1.414 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002275/1.501, allocations: 0.7614 MB / 1.387 GB, free: 0.9219 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/1.501, allocations: 4 kB / 1.387 GB, free: 0.918 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.565e-06/1.501, allocations: 0 / 1.387 GB, free: 0.918 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.465e-05/1.501, allocations: 0 / 1.387 GB, free: 0.918 MB / 1.076 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.001988/1.503, allocations: 0.7283 MB / 1.388 GB, free: 288 kB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.129e-05/1.503, allocations: 9.375 kB / 1.388 GB, free: 288 kB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/1.504, allocations: 139.8 kB / 1.388 GB, free: 224 kB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000929/1.505, allocations: 420.6 kB / 1.389 GB, free: 15.84 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/1.505, allocations: 22.19 kB / 1.389 GB, free: 15.84 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.359e-05/1.505, allocations: 28.98 kB / 1.389 GB, free: 15.82 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006041/1.506, allocations: 277.8 kB / 1.389 GB, free: 15.65 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/1.506, allocations: 0.6875 kB / 1.389 GB, free: 15.65 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.037e-05/1.506, allocations: 18.7 kB / 1.389 GB, free: 15.63 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.458e-05/1.506, allocations: 9.5 kB / 1.389 GB, free: 15.63 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004382/1.506, allocations: 194.8 kB / 1.389 GB, free: 15.54 MB / 1.092 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.002423/1.509, allocations: 1.319 MB / 1.39 GB, free: 14.3 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005035/1.509, allocations: 181.2 kB / 1.39 GB, free: 14.2 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/1.51, allocations: 87.34 kB / 1.391 GB, free: 14.16 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/1.51, allocations: 2.375 kB / 1.391 GB, free: 14.16 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/1.51, allocations: 37.19 kB / 1.391 GB, free: 14.11 MB / 1.092 GB Notification: Performance of pre-optimization done (n=19): time 1.563e-06/1.51, allocations: 0 / 1.391 GB, free: 14.11 MB / 1.092 GB Notification: Performance of matching and sorting (n=19): time 0.001129/1.511, allocations: 404.8 kB / 1.391 GB, free: 13.84 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/1.511, allocations: 57.58 kB / 1.391 GB, free: 13.77 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004591/1.511, allocations: 298.1 kB / 1.391 GB, free: 13.57 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.034e-05/1.511, allocations: 31.89 kB / 1.391 GB, free: 13.54 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/1.512, allocations: 197.8 kB / 1.392 GB, free: 13.36 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 9.415e-05/1.512, allocations: 71.91 kB / 1.392 GB, free: 13.3 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/1.512, allocations: 49.77 kB / 1.392 GB, free: 13.26 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001711/1.512, allocations: 345.3 kB / 1.392 GB, free: 12.92 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/1.512, allocations: 63.97 kB / 1.392 GB, free: 12.89 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/1.512, allocations: 117.5 kB / 1.392 GB, free: 12.79 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/1.512, allocations: 195 kB / 1.392 GB, free: 12.65 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/1.513, allocations: 1.156 kB / 1.392 GB, free: 12.65 MB / 1.092 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004906/1.513, allocations: 255.5 kB / 1.393 GB, free: 12.51 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/1.513, allocations: 9.031 kB / 1.393 GB, free: 12.5 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/1.513, allocations: 2.875 kB / 1.393 GB, free: 12.5 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/1.513, allocations: 2.688 kB / 1.393 GB, free: 12.5 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/1.513, allocations: 43.25 kB / 1.393 GB, free: 12.5 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.853e-05/1.513, allocations: 5.5 kB / 1.393 GB, free: 12.49 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/1.514, allocations: 19.89 kB / 1.393 GB, free: 12.48 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/1.514, allocations: 7.219 kB / 1.393 GB, free: 12.48 MB / 1.092 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.0002066/1.514, allocations: 162.4 kB / 1.393 GB, free: 12.33 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.16e-05/1.514, allocations: 38.78 kB / 1.393 GB, free: 12.31 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.65e-05/1.514, allocations: 39.02 kB / 1.393 GB, free: 12.27 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/1.514, allocations: 2.375 kB / 1.393 GB, free: 12.27 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/1.514, allocations: 1.094 kB / 1.393 GB, free: 12.27 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.514, allocations: 0 / 1.393 GB, free: 12.27 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006994/1.515, allocations: 409.7 kB / 1.393 GB, free: 11.91 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/1.515, allocations: 1.156 kB / 1.393 GB, free: 11.91 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/1.515, allocations: 29.48 kB / 1.393 GB, free: 11.9 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002734/1.515, allocations: 54.59 kB / 1.393 GB, free: 11.86 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/1.515, allocations: 2.219 kB / 1.393 GB, free: 11.86 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001604/1.517, allocations: 1.51 MB / 1.395 GB, free: 10.34 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/1.517, allocations: 0 / 1.395 GB, free: 10.34 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006855/1.518, allocations: 400.7 kB / 1.395 GB, free: 10.07 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/1.518, allocations: 130.8 kB / 1.395 GB, free: 9.934 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.634e-05/1.518, allocations: 6.438 kB / 1.395 GB, free: 9.93 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/1.518, allocations: 10.53 kB / 1.395 GB, free: 9.922 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/1.518, allocations: 14.83 kB / 1.395 GB, free: 9.914 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/1.518, allocations: 7.703 kB / 1.395 GB, free: 9.91 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003141/1.519, allocations: 221.4 kB / 1.396 GB, free: 9.762 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/1.519, allocations: 0 / 1.396 GB, free: 9.762 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0005722/1.519, allocations: 104 kB / 1.396 GB, free: 9.746 MB / 1.092 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.0002655/1.519, allocations: 121.3 kB / 1.396 GB, free: 9.645 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004012/1.52, allocations: 156 kB / 1.396 GB, free: 9.574 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.52, allocations: 0 / 1.396 GB, free: 9.574 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003967/1.52, allocations: 198 kB / 1.396 GB, free: 9.418 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/1.521, allocations: 202.4 kB / 1.396 GB, free: 9.324 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/1.523, allocations: 0.7346 MB / 1.397 GB, free: 8.801 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004935/1.523, allocations: 0.7969 MB / 1.398 GB, free: 8.051 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003417/1.524, allocations: 64.94 kB / 1.398 GB, free: 8.012 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.335e-05/1.524, allocations: 30.31 kB / 1.398 GB, free: 8 MB / 1.092 GB Notification: Performance of SimCode: time 6.31e-07/1.524, allocations: 0 / 1.398 GB, free: 8 MB / 1.092 GB Notification: Performance of Templates: time 0.01581/1.54, allocations: 6.178 MB / 1.404 GB, free: 4.953 MB / 1.092 GB make -j1 -f Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches