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.001657/0.001657, allocations: 116.4 kB / 16.42 MB, free: 6.496 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.001827/0.001827, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.354/1.354, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.28/2.28, allocations: 390.2 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002517/0.002517, allocations: 59.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8186/0.8212, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1912/1.012, allocations: 162.4 MB / 1.247 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004683/1.017, allocations: 2.923 MB / 1.25 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006696/1.018, allocations: 15.94 kB / 1.25 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008153/1.019, allocations: 214.8 kB / 1.25 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002406/1.021, allocations: 0.7972 MB / 1.251 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009482/1.022, allocations: 351.1 kB / 1.251 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001453/1.024, allocations: 0.9468 MB / 1.252 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004447/1.024, allocations: 254.3 kB / 1.253 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007146/1.025, allocations: 354.6 kB / 1.253 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009449/1.026, allocations: 288 kB / 1.253 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.448e-05/1.026, allocations: 36 kB / 1.253 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/1.027, allocations: 0.6469 MB / 1.254 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002241/1.028, allocations: 131.5 kB / 1.254 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003349/1.028, allocations: 207.1 kB / 1.254 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001596/1.03, allocations: 0.7497 MB / 1.255 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/1.03, allocations: 3.938 kB / 1.255 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.854e-06/1.03, allocations: 0 / 1.255 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.398e-05/1.03, allocations: 0 / 1.255 GB, free: 3.41 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.00171/1.031, allocations: 0.711 MB / 1.256 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/1.031, allocations: 8.031 kB / 1.256 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/1.033, allocations: 143.3 kB / 1.256 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007551/1.033, allocations: 410.3 kB / 1.256 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/1.033, allocations: 24.56 kB / 1.256 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.712e-05/1.033, allocations: 27.98 kB / 1.256 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005031/1.034, allocations: 271.7 kB / 1.256 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/1.034, allocations: 11.94 kB / 1.256 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/1.034, allocations: 8 kB / 1.256 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/1.034, allocations: 8.562 kB / 1.256 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003677/1.034, allocations: 206.1 kB / 1.257 GB, free: 1.5 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.001923/1.036, allocations: 1.315 MB / 1.258 GB, free: 44 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004153/1.037, allocations: 194.9 kB / 1.258 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/1.037, allocations: 92.81 kB / 1.258 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/1.037, allocations: 7.984 kB / 1.258 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/1.037, allocations: 34.56 kB / 1.258 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 2.034e-06/1.037, allocations: 0 / 1.258 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.0009554/1.038, allocations: 399.4 kB / 1.259 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/1.038, allocations: 51.41 kB / 1.259 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003221/1.038, allocations: 308.5 kB / 1.259 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/1.038, allocations: 25.7 kB / 1.259 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/1.038, allocations: 196.1 kB / 1.259 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.035e-05/1.039, allocations: 70.95 kB / 1.259 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.291e-05/1.039, allocations: 41.7 kB / 1.259 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001155/1.039, allocations: 338.8 kB / 1.26 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/1.039, allocations: 63.91 kB / 1.26 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/1.039, allocations: 122 kB / 1.26 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/1.039, allocations: 203.5 kB / 1.26 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.039, allocations: 0 / 1.26 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003905/1.04, allocations: 243.4 kB / 1.26 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/1.04, allocations: 7.938 kB / 1.26 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/1.04, allocations: 4 kB / 1.26 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/1.04, allocations: 0 / 1.26 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/1.04, allocations: 48.11 kB / 1.26 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/1.04, allocations: 4 kB / 1.26 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002846/1.04, allocations: 23.69 kB / 1.26 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/1.04, allocations: 12 kB / 1.26 GB, free: 13.46 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.0001501/1.04, allocations: 157.8 kB / 1.26 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.07e-05/1.041, allocations: 31.66 kB / 1.26 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.046e-05/1.041, allocations: 39.08 kB / 1.261 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/1.041, allocations: 3.984 kB / 1.261 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/1.041, allocations: 0 / 1.261 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/1.041, allocations: 136.6 kB / 1.261 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.495e-05/1.041, allocations: 0 / 1.261 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/1.041, allocations: 8 kB / 1.261 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/1.041, allocations: 11.98 kB / 1.261 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005976/1.042, allocations: 321.4 kB / 1.261 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004658/1.042, allocations: 461.9 kB / 1.261 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001149/1.042, allocations: 80.02 kB / 1.261 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001947/1.043, allocations: 211.1 kB / 1.262 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of Backend: time 6.52e-07/1.043, allocations: 0 / 1.262 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008788/1.043, allocations: 322.3 kB / 1.262 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of SimCode: time 0.001803/1.045, allocations: 1.329 MB / 1.263 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of Templates: time 0.0131/1.058, allocations: 7.572 MB / 1.271 GB, free: 2.805 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