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.001465/0.001465, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001532/0.001532, allocations: 187 kB / 17.34 MB, free: 5.719 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.195/2.195, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 59.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8366/0.8379, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1973/1.035, allocations: 162.4 MB / 1.247 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005025/1.04, allocations: 2.93 MB / 1.25 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006171/1.041, allocations: 15.94 kB / 1.25 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007759/1.042, allocations: 206.8 kB / 1.25 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00215/1.044, allocations: 0.7777 MB / 1.251 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008985/1.045, allocations: 347.1 kB / 1.251 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001392/1.046, allocations: 0.9428 MB / 1.252 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003921/1.047, allocations: 258.2 kB / 1.252 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006036/1.047, allocations: 342.6 kB / 1.253 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008256/1.048, allocations: 285.9 kB / 1.253 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.456e-05/1.048, allocations: 32 kB / 1.253 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/1.049, allocations: 0.643 MB / 1.254 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001618/1.05, allocations: 131.6 kB / 1.254 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000231/1.05, allocations: 215 kB / 1.254 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001124/1.051, allocations: 0.7419 MB / 1.255 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/1.051, allocations: 0 / 1.255 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.919e-06/1.051, allocations: 4 kB / 1.255 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.924e-05/1.051, allocations: 7.875 kB / 1.255 GB, free: 3.469 MB / 0.9825 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.001106/1.052, allocations: 0.705 MB / 1.256 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/1.052, allocations: 12.03 kB / 1.256 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009853/1.053, allocations: 135.3 kB / 1.256 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006137/1.054, allocations: 426.3 kB / 1.256 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/1.054, allocations: 20.56 kB / 1.256 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.766e-05/1.054, allocations: 24 kB / 1.256 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004641/1.054, allocations: 275.6 kB / 1.256 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/1.054, allocations: 0 / 1.256 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.54e-05/1.054, allocations: 12 kB / 1.256 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/1.055, allocations: 16.5 kB / 1.256 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003325/1.055, allocations: 194.1 kB / 1.257 GB, free: 1.566 MB / 0.9825 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.001704/1.057, allocations: 1.322 MB / 1.258 GB, free: 104 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/1.057, allocations: 189.1 kB / 1.258 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/1.057, allocations: 92.83 kB / 1.258 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/1.057, allocations: 4 kB / 1.258 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/1.057, allocations: 34.56 kB / 1.258 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 2.374e-06/1.057, allocations: 0 / 1.258 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.0009504/1.058, allocations: 403.4 kB / 1.259 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/1.058, allocations: 51.41 kB / 1.259 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003091/1.059, allocations: 304.5 kB / 1.259 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/1.059, allocations: 29.7 kB / 1.259 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/1.059, allocations: 188.1 kB / 1.259 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.842e-05/1.059, allocations: 78.92 kB / 1.259 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.489e-05/1.059, allocations: 45.7 kB / 1.259 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.059, allocations: 342.8 kB / 1.26 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/1.059, allocations: 67.91 kB / 1.26 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/1.059, allocations: 113.9 kB / 1.26 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003863/1.06, allocations: 207.5 kB / 1.26 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/1.06, allocations: 0 / 1.26 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006051/1.06, allocations: 239.4 kB / 1.26 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/1.06, allocations: 20.05 kB / 1.26 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.06, allocations: 4 kB / 1.26 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/1.06, allocations: 0 / 1.26 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/1.061, allocations: 39.98 kB / 1.26 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/1.061, allocations: 7.938 kB / 1.26 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/1.061, allocations: 19.75 kB / 1.26 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/1.061, allocations: 8 kB / 1.26 GB, free: 13.53 MB / 0.9981 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.0001723/1.061, allocations: 161.8 kB / 1.26 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.092e-05/1.061, allocations: 31.66 kB / 1.26 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.663e-05/1.061, allocations: 39.08 kB / 1.26 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/1.061, allocations: 0 / 1.26 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/1.061, allocations: 7.938 kB / 1.26 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/1.061, allocations: 4 kB / 1.26 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005421/1.062, allocations: 409.2 kB / 1.261 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/1.062, allocations: 0 / 1.261 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/1.062, allocations: 27.98 kB / 1.261 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002371/1.062, allocations: 44.77 kB / 1.261 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/1.062, allocations: 8 kB / 1.261 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/1.064, allocations: 1.516 MB / 1.262 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.064, allocations: 0 / 1.262 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005954/1.064, allocations: 391.8 kB / 1.263 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/1.064, allocations: 136.7 kB / 1.263 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.968e-05/1.065, allocations: 3.938 kB / 1.263 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003156/1.065, allocations: 10.75 kB / 1.263 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/1.065, allocations: 24.03 kB / 1.263 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/1.065, allocations: 4 kB / 1.263 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003382/1.065, allocations: 215.1 kB / 1.263 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.32e-07/1.065, allocations: 0 / 1.263 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004388/1.066, allocations: 99.84 kB / 1.263 GB, free: 10.19 MB / 0.9981 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.0001954/1.066, allocations: 123.7 kB / 1.263 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003391/1.066, allocations: 159.8 kB / 1.264 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.066, allocations: 4 kB / 1.264 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003164/1.067, allocations: 203 kB / 1.264 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009935/1.068, allocations: 201.8 kB / 1.264 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/1.069, allocations: 0.7663 MB / 1.265 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/1.069, allocations: 0.7921 MB / 1.265 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.796e-05/1.069, allocations: 27.44 kB / 1.265 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of SimCode: time 7.61e-07/1.069, allocations: 4 kB / 1.265 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of Templates: time 0.008297/1.078, allocations: 5.762 MB / 1.271 GB, free: 2.141 MB / 0.9981 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches