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.005311/0.005311, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001155/0.001155, allocations: 191.5 kB / 16.67 MB, free: 5.969 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.17/2.17, allocations: 390.2 MB / 0.6648 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.89 kB / 0.9508 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8078/0.8091, allocations: 140.4 MB / 1.088 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1886/0.9977, allocations: 162.4 MB / 1.246 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004881/1.003, allocations: 2.925 MB / 1.249 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004849/1.003, allocations: 11.94 kB / 1.249 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006978/1.004, allocations: 214.8 kB / 1.25 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001939/1.006, allocations: 0.805 MB / 1.25 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008624/1.007, allocations: 342.6 kB / 1.251 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001297/1.008, allocations: 0.9468 MB / 1.252 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003566/1.008, allocations: 254.3 kB / 1.252 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005432/1.009, allocations: 354.6 kB / 1.252 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007256/1.01, allocations: 285.7 kB / 1.252 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.32e-05/1.01, allocations: 36 kB / 1.252 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/1.011, allocations: 0.6469 MB / 1.253 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001585/1.011, allocations: 131.6 kB / 1.253 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002357/1.011, allocations: 211 kB / 1.253 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001075/1.013, allocations: 0.7497 MB / 1.254 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/1.013, allocations: 3.938 kB / 1.254 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.562e-06/1.013, allocations: 0 / 1.254 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.514e-06/1.013, allocations: 0 / 1.254 GB, free: 3.477 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.001061/1.014, allocations: 0.7112 MB / 1.255 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/1.014, allocations: 8.031 kB / 1.255 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000983/1.015, allocations: 139.3 kB / 1.255 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006174/1.015, allocations: 418.3 kB / 1.255 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/1.015, allocations: 20.56 kB / 1.255 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.988e-05/1.015, allocations: 24 kB / 1.255 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004652/1.016, allocations: 279.7 kB / 1.256 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/1.016, allocations: 3.938 kB / 1.256 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.026e-05/1.016, allocations: 12 kB / 1.256 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/1.016, allocations: 12.55 kB / 1.256 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003484/1.016, allocations: 202.1 kB / 1.256 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.001782/1.018, allocations: 1.322 MB / 1.257 GB, free: 104 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003952/1.019, allocations: 194.8 kB / 1.257 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/1.019, allocations: 84.83 kB / 1.257 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/1.019, allocations: 4 kB / 1.257 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/1.019, allocations: 30.56 kB / 1.258 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.734e-06/1.019, allocations: 4 kB / 1.258 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.001019/1.02, allocations: 399.4 kB / 1.258 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/1.02, allocations: 55.41 kB / 1.258 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/1.02, allocations: 300.5 kB / 1.258 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/1.02, allocations: 29.7 kB / 1.258 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/1.02, allocations: 196.1 kB / 1.258 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.365e-05/1.02, allocations: 70.95 kB / 1.259 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.166e-05/1.02, allocations: 41.7 kB / 1.259 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000131/1.021, allocations: 338.8 kB / 1.259 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/1.021, allocations: 67.91 kB / 1.259 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/1.021, allocations: 118 kB / 1.259 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/1.021, allocations: 199.3 kB / 1.259 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.021, allocations: 0 / 1.259 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003644/1.021, allocations: 247.4 kB / 1.259 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/1.022, allocations: 14.28 kB / 1.26 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/1.022, allocations: 0 / 1.26 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/1.022, allocations: 4 kB / 1.26 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/1.022, allocations: 43.92 kB / 1.26 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/1.022, allocations: 0 / 1.26 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/1.022, allocations: 23.69 kB / 1.26 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/1.022, allocations: 16.19 kB / 1.26 GB, free: 13.54 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.000171/1.022, allocations: 157.8 kB / 1.26 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.279e-05/1.022, allocations: 35.64 kB / 1.26 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.317e-05/1.022, allocations: 39.08 kB / 1.26 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/1.022, allocations: 4 kB / 1.26 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/1.022, allocations: 0 / 1.26 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/1.022, allocations: 0 / 1.26 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005423/1.023, allocations: 405.2 kB / 1.26 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/1.023, allocations: 4 kB / 1.26 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/1.023, allocations: 43.92 kB / 1.26 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002399/1.023, allocations: 44.75 kB / 1.26 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/1.023, allocations: 8 kB / 1.26 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001338/1.025, allocations: 1.508 MB / 1.262 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.025, allocations: 0 / 1.262 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000558/1.025, allocations: 401 kB / 1.262 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/1.026, allocations: 136.6 kB / 1.262 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/1.026, allocations: 11.94 kB / 1.262 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/1.026, allocations: 10.75 kB / 1.262 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/1.026, allocations: 7.984 kB / 1.262 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/1.026, allocations: 8 kB / 1.262 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002243/1.026, allocations: 215.1 kB / 1.263 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.026, allocations: 0 / 1.263 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004101/1.027, allocations: 103.8 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.0002294/1.027, allocations: 119.8 kB / 1.263 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003061/1.027, allocations: 164.1 kB / 1.263 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.027, allocations: 4.062 kB / 1.263 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003053/1.027, allocations: 198.6 kB / 1.263 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008989/1.028, allocations: 209.5 kB / 1.263 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/1.029, allocations: 0.7178 MB / 1.264 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/1.03, allocations: 0.7999 MB / 1.265 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002136/1.03, allocations: 63.22 kB / 1.265 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.62e-05/1.03, allocations: 31.38 kB / 1.265 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/1.03, allocations: 0 / 1.265 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of Templates: time 0.01114/1.041, allocations: 6.133 MB / 1.271 GB, free: 1.812 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches