Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008897/0.0008897, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001143/0.001143, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.517/2.517, allocations: 390.9 MB / 0.666 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.0003809, allocations: 16 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7732/0.7736, allocations: 142.4 MB / 0.9545 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.001226/0.7749, allocations: 0.6672 MB / 0.9552 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.7762, allocations: 0.9536 MB / 0.9561 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.749e-05/0.7763, allocations: 6.156 kB / 0.9561 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.381e-05/0.7763, allocations: 11.86 kB / 0.9561 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.7764, allocations: 17.14 kB / 0.9561 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.7767, allocations: 41.73 kB / 0.9562 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.7768, allocations: 135.4 kB / 0.9563 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.777, allocations: 62.38 kB / 0.9563 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.7771, allocations: 60.91 kB / 0.9564 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.181e-05/0.7772, allocations: 52.75 kB / 0.9565 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.7773, allocations: 4.312 kB / 0.9565 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.765e-05/0.7773, allocations: 4.406 kB / 0.9565 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.7773, allocations: 20.42 kB / 0.9565 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.012e-05/0.7773, allocations: 44.55 kB / 0.9565 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.7775, allocations: 147.1 kB / 0.9567 GB, free: 6 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.7775, allocations: 0 / 0.9567 GB, free: 6 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7775, allocations: 0.9062 kB / 0.9567 GB, free: 6 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.7775, allocations: 0 / 0.9567 GB, free: 6 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.000504/0.778, allocations: 427.6 kB / 0.9571 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.7781, allocations: 9.312 kB / 0.9571 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.7781, allocations: 20.3 kB / 0.9571 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.7785, allocations: 263.5 kB / 0.9574 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.7785, allocations: 10.22 kB / 0.9574 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.7786, allocations: 12.31 kB / 0.9574 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.7789, allocations: 147 kB / 0.9575 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.7789, allocations: 0 / 0.9575 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.7789, allocations: 12.61 kB / 0.9575 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.7789, allocations: 3.469 kB / 0.9575 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003173/0.7792, allocations: 124.3 kB / 0.9576 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005526/0.7798, allocations: 473 kB / 0.9581 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.7801, allocations: 111.1 kB / 0.9582 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.7802, allocations: 60 kB / 0.9583 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.7802, allocations: 3.984 kB / 0.9583 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.7803, allocations: 36.38 kB / 0.9583 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.7803, allocations: 0 / 0.9583 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004892/0.7808, allocations: 187.8 kB / 0.9585 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.7808, allocations: 52.78 kB / 0.9585 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.7809, allocations: 161.1 kB / 0.9587 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.7809, allocations: 25.7 kB / 0.9587 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/0.781, allocations: 124 kB / 0.9588 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.781, allocations: 27.69 kB / 0.9589 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.106e-06/0.781, allocations: 4 kB / 0.9589 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.562e-05/0.7811, allocations: 321.6 kB / 0.9592 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.7812, allocations: 47.47 kB / 0.9592 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.7814, allocations: 82.45 kB / 0.9593 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.7815, allocations: 57.53 kB / 0.9593 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.7815, allocations: 0 / 0.9593 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003434/0.7819, allocations: 156.7 kB / 0.9595 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.7819, allocations: 6.156 kB / 0.9595 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.7819, allocations: 1.719 kB / 0.9595 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.7819, allocations: 5.422 kB / 0.9595 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.7821, allocations: 28.83 kB / 0.9595 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.7821, allocations: 1.25 kB / 0.9595 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.076e-05/0.7822, allocations: 21.73 kB / 0.9596 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.7822, allocations: 7.812 kB / 0.9596 GB, free: 3.555 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.y,actAirSet.setUpMod.y,actAirSet.cooDowMod.y,actAirSet.occMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001025/0.7823, allocations: 139.9 kB / 0.9597 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.7824, allocations: 9.094 kB / 0.9597 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.669e-05/0.7824, allocations: 14.66 kB / 0.9597 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.7824, allocations: 5.234 kB / 0.9597 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7824, allocations: 1.312 kB / 0.9597 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.7824, allocations: 0 / 0.9597 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.7826, allocations: 232.9 kB / 0.9599 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.7827, allocations: 4.938 kB / 0.9599 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.7828, allocations: 20.83 kB / 0.96 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.7828, allocations: 1 kB / 0.96 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.7828, allocations: 9.328 kB / 0.96 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.7828, allocations: 0 / 0.96 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.7828, allocations: 7.953 kB / 0.96 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.7832, allocations: 235.8 kB / 0.9602 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.042e-05/0.7832, allocations: 88.95 kB / 0.9603 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.7832, allocations: 4 kB / 0.9603 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.7834, allocations: 11.98 kB / 0.9603 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.809e-05/0.7834, allocations: 14.33 kB / 0.9603 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.7834, allocations: 10.94 kB / 0.9603 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.887e-05/0.7835, allocations: 108.9 kB / 0.9604 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.11e-07/0.7835, allocations: 0 / 0.9604 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002587/0.7838, allocations: 25.72 kB / 0.9605 GB, free: 2.727 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001288/0.7839, allocations: 114 kB / 0.9606 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003338/0.7843, allocations: 124.7 kB / 0.9607 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7843, allocations: 0 / 0.9607 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.7844, allocations: 66.39 kB / 0.9608 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.7847, allocations: 10.92 kB / 0.9608 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006152/0.7853, allocations: 310.1 kB / 0.9611 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001695/0.7855, allocations: 0.7196 MB / 0.9618 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001279/0.7857, allocations: 20.88 kB / 0.9618 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.895e-05/0.7857, allocations: 18.31 kB / 0.9618 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of SimCode: time 1.513e-06/0.7857, allocations: 0 / 0.9618 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of Templates: time 0.00495/0.7907, allocations: 1.037 MB / 0.9628 GB, free: 1.066 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches