Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|numOfOcc.y|outAirSet_SinZon.TZon|outAirSet_SinZon.TDis|outAirSet_SinZon.VOutMinSet_flow|outAirSet_SinZon_noOccSen.VOutMinSet_flow|outAirSet_SinZon.uOpeMod|outAirSet_SinZon.uSupFan",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|numOfOcc.y|outAirSet_SinZon.TZon|outAirSet_SinZon.TDis|outAirSet_SinZon.VOutMinSet_flow|outAirSet_SinZon_noOccSen.VOutMinSet_flow|outAirSet_SinZon.uOpeMod|outAirSet_SinZon.uSupFan",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.517/1.517, allocations: 249.5 MB / 257 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 180.8 kB / 316.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009954/0.0009957, allocations: 97.72 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.22e-05/2.221e-05, allocations: 4 kB / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2597, allocations: 106.3 MB / 0.8853 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8078/1.068, allocations: 133.5 MB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/1.068, allocations: 76.88 kB / 1.016 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01377/1.082, allocations: 5.694 MB / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.633e-06/1.082, allocations: 4.938 kB / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.985e-05/1.082, allocations: 8 kB / 1.021 GB, free: 15.44 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.0009376/1.083, allocations: 0.636 MB / 1.022 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/1.083, allocations: 11.97 kB / 1.022 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.264e-05/1.083, allocations: 51.44 kB / 1.022 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/1.083, allocations: 327.7 kB / 1.022 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/1.083, allocations: 20 kB / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.671e-05/1.083, allocations: 24 kB / 1.022 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004176/1.084, allocations: 229.4 kB / 1.023 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004876/1.084, allocations: 279 kB / 1.023 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/1.084, allocations: 3.938 kB / 1.023 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/1.084, allocations: 0 / 1.023 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/1.084, allocations: 12 kB / 1.023 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/1.086, allocations: 1.156 MB / 1.024 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005692/1.087, allocations: 213 kB / 1.024 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/1.087, allocations: 55.3 kB / 1.024 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/1.087, allocations: 3.938 kB / 1.024 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/1.087, allocations: 38.56 kB / 1.024 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=17): time 1.703e-06/1.087, allocations: 0 / 1.024 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17): time 0.0003285/1.087, allocations: 153.7 kB / 1.024 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/1.087, allocations: 51.41 kB / 1.025 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/1.088, allocations: 263.4 kB / 1.025 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/1.088, allocations: 29.64 kB / 1.025 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/1.088, allocations: 245.3 kB / 1.025 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.173e-05/1.088, allocations: 57.72 kB / 1.025 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.213e-05/1.088, allocations: 4 kB / 1.025 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001242/1.088, allocations: 336.5 kB / 1.025 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.962e-05/1.088, allocations: 59.62 kB / 1.025 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/1.088, allocations: 100.9 kB / 1.026 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.47e-05/1.088, allocations: 54.41 kB / 1.026 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/1.088, allocations: 4.031 kB / 1.026 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002818/1.089, allocations: 199.2 kB / 1.026 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/1.089, allocations: 5.562 kB / 1.026 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/1.089, allocations: 4 kB / 1.026 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/1.089, allocations: 3.938 kB / 1.026 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/1.089, allocations: 55.89 kB / 1.026 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/1.089, allocations: 4.062 kB / 1.026 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/1.089, allocations: 43.88 kB / 1.026 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/1.089, allocations: 7.688 kB / 1.026 GB, free: 11.38 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 (outAirSet_SinZon_noOccSen.occSen.y,outAirSet_SinZon.occSen.y,$PRE.outAirSet_SinZon.hys.y,outAirSet_SinZon.hys.y,$PRE.outAirSet_SinZon_noOccSen.hys.y,outAirSet_SinZon_noOccSen.hys.y,outAirSet_SinZon.not1.y,outAirSet_SinZon_noOccSen.not1.y,outAirSet_SinZon_noOccSen.and1.u2,outAirSet_SinZon.and1.u2) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001014/1.089, allocations: 120.7 kB / 1.026 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/1.09, allocations: 31.67 kB / 1.026 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.528e-05/1.09, allocations: 31.02 kB / 1.026 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/1.09, allocations: 0 / 1.026 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/1.09, allocations: 0 / 1.026 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/1.09, allocations: 4 kB / 1.026 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/1.09, allocations: 334.8 kB / 1.026 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/1.09, allocations: 0 / 1.026 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/1.09, allocations: 55.2 kB / 1.026 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/1.09, allocations: 0 / 1.026 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/1.09, allocations: 3.953 kB / 1.026 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/1.09, allocations: 4 kB / 1.026 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.09, allocations: 3.984 kB / 1.026 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/1.091, allocations: 253.2 kB / 1.027 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.63e-05/1.091, allocations: 112.2 kB / 1.027 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/1.091, allocations: 0 / 1.027 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/1.091, allocations: 35.92 kB / 1.027 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.187e-05/1.091, allocations: 27.89 kB / 1.027 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/1.091, allocations: 4 kB / 1.027 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001596/1.091, allocations: 196.2 kB / 1.027 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.091, allocations: 4 kB / 1.027 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000296/1.091, allocations: 63.69 kB / 1.027 GB, free: 10.21 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (outAirSet_SinZon.hys.y,outAirSet_SinZon_noOccSen.hys.y) * Number of discrete states: 2 (outAirSet_SinZon.hys.y,outAirSet_SinZon_noOccSen.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001377/1.092, allocations: 107.2 kB / 1.027 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002918/1.092, allocations: 147.9 kB / 1.027 GB, free: 10 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/1.092, allocations: 0 / 1.027 GB, free: 10 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/1.092, allocations: 68.25 kB / 1.027 GB, free: 9.957 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/1.092, allocations: 22.66 kB / 1.027 GB, free: 9.945 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008002/1.093, allocations: 403.9 kB / 1.028 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/1.094, allocations: 0.8107 MB / 1.029 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001146/1.094, allocations: 26.06 kB / 1.029 GB, free: 8.703 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.566e-05/1.094, allocations: 23.42 kB / 1.029 GB, free: 8.68 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/1.094, allocations: 0 / 1.029 GB, free: 8.68 MB / 0.6511 GB Notification: Performance of Templates: time 0.005441/1.099, allocations: 2 MB / 1.031 GB, free: 6.754 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_OutsideAirFlow.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches