Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001695/0.001695, allocations: 110.7 kB / 16.42 MB, free: 6.492 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.002009/0.002009, allocations: 185.7 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.491/1.491, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.417/2.417, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 71.88 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8266/0.828, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1749/1.003, allocations: 162.4 MB / 1.326 GB, free: 0.8242 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004286/1.007, allocations: 2.909 MB / 1.329 GB, free: 13.91 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005508/1.008, allocations: 15.88 kB / 1.329 GB, free: 13.89 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006807/1.009, allocations: 214.8 kB / 1.329 GB, free: 13.68 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001852/1.01, allocations: 0.8051 MB / 1.33 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007876/1.011, allocations: 344.7 kB / 1.33 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001261/1.013, allocations: 0.9467 MB / 1.331 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004054/1.013, allocations: 254.3 kB / 1.331 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000619/1.014, allocations: 346.6 kB / 1.332 GB, free: 11 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008493/1.014, allocations: 284.8 kB / 1.332 GB, free: 10.72 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.779e-05/1.015, allocations: 36 kB / 1.332 GB, free: 10.68 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/1.016, allocations: 0.643 MB / 1.332 GB, free: 10.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001655/1.016, allocations: 131.5 kB / 1.333 GB, free: 9.91 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002411/1.016, allocations: 223 kB / 1.333 GB, free: 9.691 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001064/1.017, allocations: 0.7458 MB / 1.334 GB, free: 8.945 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/1.017, allocations: 4 kB / 1.334 GB, free: 8.941 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.142e-06/1.017, allocations: 0 / 1.334 GB, free: 8.941 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.184e-05/1.017, allocations: 0 / 1.334 GB, free: 8.941 MB / 1.061 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.001212/1.018, allocations: 0.7127 MB / 1.334 GB, free: 8.18 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/1.018, allocations: 12.86 kB / 1.334 GB, free: 8.168 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/1.02, allocations: 143.3 kB / 1.334 GB, free: 8.027 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000661/1.02, allocations: 410.4 kB / 1.335 GB, free: 7.586 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/1.02, allocations: 20.56 kB / 1.335 GB, free: 7.566 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.038e-05/1.02, allocations: 27.98 kB / 1.335 GB, free: 7.539 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004483/1.021, allocations: 275.6 kB / 1.335 GB, free: 7.262 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/1.021, allocations: 4 kB / 1.335 GB, free: 7.258 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/1.021, allocations: 12 kB / 1.335 GB, free: 7.246 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/1.021, allocations: 8.562 kB / 1.335 GB, free: 7.238 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003372/1.021, allocations: 198.1 kB / 1.335 GB, free: 7.043 MB / 1.061 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.001676/1.023, allocations: 1.315 MB / 1.337 GB, free: 5.586 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003768/1.023, allocations: 190.8 kB / 1.337 GB, free: 5.391 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/1.023, allocations: 94.55 kB / 1.337 GB, free: 5.297 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/1.023, allocations: 7.984 kB / 1.337 GB, free: 5.289 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/1.024, allocations: 34.56 kB / 1.337 GB, free: 5.246 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.923e-06/1.024, allocations: 0 / 1.337 GB, free: 5.246 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.0009488/1.024, allocations: 407.3 kB / 1.337 GB, free: 4.82 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/1.025, allocations: 51.41 kB / 1.337 GB, free: 4.758 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/1.025, allocations: 300.6 kB / 1.338 GB, free: 4.457 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/1.025, allocations: 29.7 kB / 1.338 GB, free: 4.422 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/1.025, allocations: 192.1 kB / 1.338 GB, free: 4.23 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.446e-05/1.025, allocations: 70.94 kB / 1.338 GB, free: 4.16 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.068e-05/1.025, allocations: 53.55 kB / 1.338 GB, free: 4.102 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000111/1.025, allocations: 342.8 kB / 1.338 GB, free: 3.758 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/1.025, allocations: 63.97 kB / 1.338 GB, free: 3.695 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/1.025, allocations: 121.9 kB / 1.338 GB, free: 3.555 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/1.026, allocations: 204.3 kB / 1.339 GB, free: 3.336 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/1.026, allocations: 0 / 1.339 GB, free: 3.336 MB / 1.061 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003589/1.026, allocations: 247.7 kB / 1.339 GB, free: 3.09 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/1.026, allocations: 14.73 kB / 1.339 GB, free: 3.078 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/1.026, allocations: 4 kB / 1.339 GB, free: 3.074 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/1.026, allocations: 0 / 1.339 GB, free: 3.074 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/1.026, allocations: 43.92 kB / 1.339 GB, free: 3.031 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/1.026, allocations: 4 kB / 1.339 GB, free: 3.027 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/1.027, allocations: 15.84 kB / 1.339 GB, free: 3.012 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/1.027, allocations: 8 kB / 1.339 GB, free: 3.004 MB / 1.061 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.0001479/1.027, allocations: 161.8 kB / 1.339 GB, free: 2.836 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.785e-05/1.027, allocations: 39.59 kB / 1.339 GB, free: 2.797 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.568e-05/1.027, allocations: 35.08 kB / 1.339 GB, free: 2.754 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/1.027, allocations: 0 / 1.339 GB, free: 2.754 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.027, allocations: 0 / 1.339 GB, free: 2.754 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/1.027, allocations: 128.7 kB / 1.339 GB, free: 2.609 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.684e-05/1.027, allocations: 4 kB / 1.339 GB, free: 2.605 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/1.028, allocations: 11.98 kB / 1.339 GB, free: 2.594 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/1.028, allocations: 7.984 kB / 1.339 GB, free: 2.586 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006075/1.028, allocations: 321.6 kB / 1.34 GB, free: 2.262 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004655/1.029, allocations: 460.6 kB / 1.34 GB, free: 1.797 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001082/1.029, allocations: 76.02 kB / 1.34 GB, free: 1.723 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001902/1.029, allocations: 215.1 kB / 1.34 GB, free: 1.516 MB / 1.061 GB Notification: Performance of Backend: time 7.62e-07/1.029, allocations: 0 / 1.34 GB, free: 1.516 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008514/1.03, allocations: 336.1 kB / 1.341 GB, free: 1.184 MB / 1.061 GB Notification: Performance of SimCode: time 0.001826/1.032, allocations: 1.312 MB / 1.342 GB, free: 15.83 MB / 1.076 GB Notification: Performance of Templates: time 0.01281/1.044, allocations: 7.568 MB / 1.349 GB, free: 8.352 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches