Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.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.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vavBoxCon.TRooHeaSet|vavBoxCon.TRooCooSet|vavBoxCon.TRoo|vavBoxCon.conHea.y|vavBoxCon.conCoo.y|vavBoxCon.yDam|vavBoxCon.yVal",fileNamePrefix="Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vavBoxCon.TRooHeaSet|vavBoxCon.TRooCooSet|vavBoxCon.TRoo|vavBoxCon.conHea.y|vavBoxCon.conCoo.y|vavBoxCon.yDam|vavBoxCon.yVal",fileNamePrefix="Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01289/0.01289, allocations: 170 kB / 16.26 MB, free: 6.613 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.49/1.49, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.676/2.676, allocations: 390.9 MB / 0.6663 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004019/0.0004018, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.003, allocations: 142.4 MB / 0.9551 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV): time 0.003675/1.007, allocations: 2.83 MB / 0.9578 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001973/1.009, allocations: 0.7992 MB / 0.9586 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005615/1.01, allocations: 14.34 kB / 0.9586 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003021/1.01, allocations: 73.31 kB / 0.9587 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002274/1.01, allocations: 61.88 kB / 0.9587 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005184/1.011, allocations: 222.7 kB / 0.959 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006495/1.011, allocations: 0.6598 MB / 0.9596 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006007/1.012, allocations: 397.8 kB / 0.96 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002732/1.012, allocations: 165 kB / 0.9601 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/1.012, allocations: 197.4 kB / 0.9603 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.472e-05/1.013, allocations: 16.03 kB / 0.9603 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.865e-05/1.013, allocations: 16.41 kB / 0.9604 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.529e-05/1.013, allocations: 84.08 kB / 0.9604 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002155/1.013, allocations: 255.5 kB / 0.9607 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006298/1.014, allocations: 0.8569 MB / 0.9615 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/1.014, allocations: 0 / 0.9615 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.445e-06/1.014, allocations: 0 / 0.9615 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.156e-05/1.014, allocations: 0 / 0.9615 GB, free: 2.57 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001502/1.015, allocations: 0.8435 MB / 0.9623 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/1.015, allocations: 9.469 kB / 0.9623 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/1.015, allocations: 70.31 kB / 0.9624 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006321/1.016, allocations: 464.6 kB / 0.9629 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.118e-05/1.016, allocations: 39.84 kB / 0.9629 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.51e-05/1.016, allocations: 51.31 kB / 0.9629 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/1.017, allocations: 0.5635 MB / 0.9635 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/1.017, allocations: 5.281 kB / 0.9635 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.333e-05/1.017, allocations: 20.78 kB / 0.9635 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/1.017, allocations: 16.19 kB / 0.9635 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/1.018, allocations: 460.3 kB / 0.964 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002784/1.021, allocations: 1.859 MB / 0.9658 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/1.023, allocations: 0.5472 MB / 0.9663 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004829/1.023, allocations: 224.1 kB / 0.9665 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.363e-05/1.023, allocations: 12.06 kB / 0.9665 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/1.023, allocations: 40.84 kB / 0.9666 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=32): time 2.896e-06/1.023, allocations: 0 / 0.9666 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=32): time 0.001454/1.025, allocations: 0.5255 MB / 0.9671 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.958e-05/1.025, allocations: 110.5 kB / 0.9672 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007203/1.026, allocations: 0.4937 MB / 0.9677 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.003e-05/1.026, allocations: 36.86 kB / 0.9677 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000269/1.026, allocations: 292.7 kB / 0.968 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.902e-05/1.026, allocations: 115.5 kB / 0.9681 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-05/1.026, allocations: 42.08 kB / 0.9681 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001525/1.026, allocations: 357.8 kB / 0.9685 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004129/1.027, allocations: 169.7 kB / 0.9687 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004907/1.027, allocations: 261.4 kB / 0.9689 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008394/1.028, allocations: 387.9 kB / 0.9693 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/1.028, allocations: 1.031 kB / 0.9693 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00107/1.029, allocations: 484.3 kB / 0.9697 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/1.029, allocations: 146.7 kB / 0.9699 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/1.029, allocations: 5.594 kB / 0.9699 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/1.029, allocations: 3.875 kB / 0.9699 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/1.03, allocations: 93.34 kB / 0.97 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/1.03, allocations: 3.219 kB / 0.97 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004039/1.03, allocations: 91.95 kB / 0.9701 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/1.03, allocations: 13.84 kB / 0.9701 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.754e-06/1.03, allocations: 3.562 kB / 0.9701 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000688/1.031, allocations: 347.1 kB / 0.9704 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-06/1.031, allocations: 2.562 kB / 0.9704 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.325e-06/1.031, allocations: 3.906 kB / 0.9704 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/1.031, allocations: 79.33 kB / 0.9705 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/1.031, allocations: 15.12 kB / 0.9705 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/1.032, allocations: 63.97 kB / 0.9706 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/1.032, allocations: 14.09 kB / 0.9706 GB, free: 12.28 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 (vavBoxCon.conCoo.con1.y,vavBoxCon.conHea.con1.y,vavBoxCon.hysWitHol.y,$PRE.vavBoxCon.hysWitHol.y,vavBoxCon.greThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0003644/1.032, allocations: 272.7 kB / 0.9708 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.706e-05/1.032, allocations: 45.81 kB / 0.9709 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/1.033, allocations: 422.4 kB / 0.9713 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/1.033, allocations: 10.94 kB / 0.9713 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.033, allocations: 0.875 kB / 0.9713 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/1.033, allocations: 7.984 kB / 0.9713 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007377/1.034, allocations: 0.5513 MB / 0.9718 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.034, allocations: 0 / 0.9718 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/1.034, allocations: 69.58 kB / 0.9719 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/1.034, allocations: 1.875 kB / 0.9719 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/1.034, allocations: 13.17 kB / 0.9719 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/1.034, allocations: 9.969 kB / 0.9719 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.034, allocations: 4.062 kB / 0.9719 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/1.036, allocations: 0.6911 MB / 0.9726 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/1.036, allocations: 129.5 kB / 0.9727 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.555e-05/1.036, allocations: 7.625 kB / 0.9727 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003027/1.036, allocations: 52.86 kB / 0.9728 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.495e-05/1.036, allocations: 26.8 kB / 0.9728 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/1.036, allocations: 11.22 kB / 0.9728 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005818/1.037, allocations: 349.4 kB / 0.9732 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/1.037, allocations: 0 / 0.9732 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008471/1.038, allocations: 171.1 kB / 0.9733 GB, free: 10.43 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 1 (vavBoxCon.hysWitHol.y) * Number of discrete states: 1 (vavBoxCon.hysWitHol.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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 Backend phase and start with SimCode phase: time 0.0002799/1.038, allocations: 120.5 kB / 0.9734 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001678/1.04, allocations: 0.5515 MB / 0.974 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.04, allocations: 0 / 0.974 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005007/1.04, allocations: 189.9 kB / 0.9742 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008693/1.041, allocations: 91.73 kB / 0.9743 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/1.044, allocations: 1.114 MB / 0.9753 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006077/1.044, allocations: 0.8466 MB / 0.9762 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003386/1.045, allocations: 59.83 kB / 0.9762 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/1.045, allocations: 43.89 kB / 0.9763 GB, free: 8.359 MB / 0.7325 GB Notification: Performance of SimCode: time 2.795e-06/1.045, allocations: 4 kB / 0.9763 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of Templates: time 0.01257/1.057, allocations: 4.674 MB / 0.9808 GB, free: 4.438 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.makefile (rm -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.sim & ./Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches