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.009454/0.009454, allocations: 102.1 kB / 15.73 MB, free: 6.012 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.002013/0.002013, allocations: 194.5 kB / 16.67 MB, free: 5.938 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.07 MB / 190.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.407/2.407, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 65.23 kB / 0.9508 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2657, allocations: 140.4 MB / 1.088 GB, free: 1.586 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.175/0.4407, allocations: 162.4 MB / 1.246 GB, free: 14.56 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005341/0.4461, allocations: 2.916 MB / 1.249 GB, free: 11.64 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008701/0.447, allocations: 15.94 kB / 1.249 GB, free: 11.62 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008828/0.4479, allocations: 210.8 kB / 1.25 GB, free: 11.41 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002279/0.4503, allocations: 0.766 MB / 1.25 GB, free: 10.64 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009857/0.4513, allocations: 353.5 kB / 1.251 GB, free: 10.3 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001593/0.4529, allocations: 0.9351 MB / 1.252 GB, free: 9.359 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005104/0.4534, allocations: 254.3 kB / 1.252 GB, free: 9.109 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007821/0.4542, allocations: 346.6 kB / 1.252 GB, free: 8.77 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008546/0.4551, allocations: 293.9 kB / 1.252 GB, free: 8.484 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.899e-05/0.4551, allocations: 36 kB / 1.252 GB, free: 8.449 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.4564, allocations: 0.6391 MB / 1.253 GB, free: 7.809 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002242/0.4567, allocations: 123.7 kB / 1.253 GB, free: 7.688 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000301/0.457, allocations: 215 kB / 1.253 GB, free: 7.477 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0009957/0.458, allocations: 0.7595 MB / 1.254 GB, free: 6.715 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.458, allocations: 4 kB / 1.254 GB, free: 6.711 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.502e-06/0.458, allocations: 0 / 1.254 GB, free: 6.711 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.458, allocations: 0 / 1.254 GB, free: 6.711 MB / 1.014 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.001152/0.4592, allocations: 0.7166 MB / 1.255 GB, free: 5.945 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.4592, allocations: 8.031 kB / 1.255 GB, free: 5.938 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.4602, allocations: 139.4 kB / 1.255 GB, free: 5.801 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005823/0.4608, allocations: 426.2 kB / 1.255 GB, free: 5.34 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.4609, allocations: 20.56 kB / 1.255 GB, free: 5.32 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.355e-05/0.4609, allocations: 24 kB / 1.255 GB, free: 5.297 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/0.4614, allocations: 275.7 kB / 1.256 GB, free: 5.02 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.4614, allocations: 0 / 1.256 GB, free: 5.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.4614, allocations: 12 kB / 1.256 GB, free: 5.008 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.4614, allocations: 8.562 kB / 1.256 GB, free: 5 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000326/0.4618, allocations: 198.1 kB / 1.256 GB, free: 4.801 MB / 1.014 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.001686/0.4635, allocations: 1.319 MB / 1.257 GB, free: 3.34 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003816/0.4639, allocations: 194.9 kB / 1.257 GB, free: 3.141 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.464, allocations: 92.77 kB / 1.257 GB, free: 3.047 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.464, allocations: 0 / 1.257 GB, free: 3.047 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.4641, allocations: 38.56 kB / 1.257 GB, free: 3 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 1.192e-06/0.4641, allocations: 4 kB / 1.257 GB, free: 2.996 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.000935/0.465, allocations: 397 kB / 1.258 GB, free: 2.582 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.4651, allocations: 55.41 kB / 1.258 GB, free: 2.516 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.4654, allocations: 304.5 kB / 1.258 GB, free: 2.211 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.402e-05/0.4654, allocations: 33.7 kB / 1.258 GB, free: 2.172 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.4655, allocations: 192.1 kB / 1.258 GB, free: 1.98 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.42e-05/0.4656, allocations: 67 kB / 1.258 GB, free: 1.914 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.855e-05/0.4657, allocations: 45.66 kB / 1.259 GB, free: 1.863 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.4658, allocations: 342.8 kB / 1.259 GB, free: 1.52 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.4659, allocations: 63.97 kB / 1.259 GB, free: 1.457 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.4661, allocations: 117.9 kB / 1.259 GB, free: 1.32 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.4663, allocations: 199.7 kB / 1.259 GB, free: 1.105 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.4663, allocations: 0 / 1.259 GB, free: 1.105 MB / 1.014 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003468/0.4667, allocations: 243.2 kB / 1.259 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.4667, allocations: 14.28 kB / 1.259 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.4667, allocations: 4 kB / 1.259 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.4667, allocations: 4 kB / 1.259 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.4669, allocations: 47.91 kB / 1.26 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.467, allocations: 4.188 kB / 1.26 GB, free: 0.793 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.4672, allocations: 23.75 kB / 1.26 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.4673, allocations: 4 kB / 1.26 GB, free: 0.7656 MB / 1.014 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.0001574/0.4674, allocations: 165.7 kB / 1.26 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.954e-05/0.4675, allocations: 31.66 kB / 1.26 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.024e-05/0.4676, allocations: 39.06 kB / 1.26 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.4676, allocations: 4 kB / 1.26 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.4676, allocations: 0 / 1.26 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.4676, allocations: 0 / 1.26 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004785/0.4681, allocations: 409.3 kB / 1.26 GB, free: 72 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4681, allocations: 0 / 1.26 GB, free: 72 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.4683, allocations: 35.92 kB / 1.26 GB, free: 36 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6643/1.133, allocations: 46.75 kB / 1.26 GB, free: 176.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.339e-05/1.133, allocations: 1.359 kB / 1.26 GB, free: 176.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/1.134, allocations: 1.515 MB / 1.262 GB, free: 174.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.134, allocations: 0.7812 kB / 1.262 GB, free: 174.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005899/1.134, allocations: 398.7 kB / 1.262 GB, free: 174.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/1.135, allocations: 125 kB / 1.262 GB, free: 174.6 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/1.135, allocations: 5.984 kB / 1.262 GB, free: 174.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/1.135, allocations: 5.672 kB / 1.262 GB, free: 174.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/1.135, allocations: 17.73 kB / 1.262 GB, free: 174.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/1.135, allocations: 9.328 kB / 1.262 GB, free: 174.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002384/1.135, allocations: 217.7 kB / 1.262 GB, free: 174.5 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.21e-07/1.135, allocations: 0.875 kB / 1.262 GB, free: 174.5 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004452/1.136, allocations: 106.1 kB / 1.263 GB, free: 174.5 MB / 1.014 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.0001607/1.136, allocations: 117.9 kB / 1.263 GB, free: 174.4 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003095/1.136, allocations: 165.7 kB / 1.263 GB, free: 174.4 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.136, allocations: 1.062 kB / 1.263 GB, free: 174.4 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002939/1.136, allocations: 197.4 kB / 1.263 GB, free: 174.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009651/1.137, allocations: 197.8 kB / 1.263 GB, free: 174.3 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/1.139, allocations: 0.725 MB / 1.264 GB, free: 174 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/1.139, allocations: 0.7938 MB / 1.265 GB, free: 173.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002465/1.139, allocations: 60.16 kB / 1.265 GB, free: 173.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.042e-05/1.139, allocations: 26.16 kB / 1.265 GB, free: 173.3 MB / 1.014 GB Notification: Performance of SimCode: time 5.41e-07/1.139, allocations: 1 kB / 1.265 GB, free: 173.3 MB / 1.014 GB Notification: Performance of Templates: time 0.01567/1.155, allocations: 6.258 MB / 1.271 GB, free: 172.9 MB / 1.014 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