Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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.ParallelFanCVF.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.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 98.88 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 181.7 kB / 16.92 MB, free: 6.918 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.574/1.574, allocations: 223.3 MB / 241 MB, free: 5.328 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.535/2.535, allocations: 390.9 MB / 0.667 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004059, allocations: 8 kB / 0.8167 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8507/0.8511, allocations: 142.4 MB / 0.9558 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.001195/0.8523, allocations: 0.7031 MB / 0.9564 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009863/0.8533, allocations: 0.967 MB / 0.9574 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.564e-05/0.8534, allocations: 1.125 kB / 0.9574 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.925e-05/0.8535, allocations: 8.797 kB / 0.9574 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.8536, allocations: 9.969 kB / 0.9574 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.8538, allocations: 56.55 kB / 0.9575 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.8539, allocations: 149.7 kB / 0.9576 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.8541, allocations: 81.67 kB / 0.9577 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.8543, allocations: 53.58 kB / 0.9577 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.875e-05/0.8544, allocations: 53.58 kB / 0.9578 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.8544, allocations: 8.219 kB / 0.9578 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.985e-05/0.8544, allocations: 3.844 kB / 0.9578 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.768e-05/0.8545, allocations: 19.86 kB / 0.9578 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.216e-05/0.8545, allocations: 81.17 kB / 0.9579 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.8547, allocations: 147 kB / 0.958 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.8547, allocations: 3.938 kB / 0.958 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8547, allocations: 1.719 kB / 0.958 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.8547, allocations: 0 / 0.958 GB, free: 5.977 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.0005408/0.8552, allocations: 428.9 kB / 0.9585 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.8553, allocations: 10.5 kB / 0.9585 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.673e-05/0.8553, allocations: 15.88 kB / 0.9585 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003971/0.8557, allocations: 262.5 kB / 0.9587 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.8558, allocations: 18.75 kB / 0.9587 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.8558, allocations: 12.62 kB / 0.9588 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003203/0.8562, allocations: 148.2 kB / 0.9589 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.8562, allocations: 0 / 0.9589 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.8562, allocations: 5.844 kB / 0.9589 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.8562, allocations: 3.531 kB / 0.9589 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003391/0.8565, allocations: 127.5 kB / 0.959 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005664/0.8571, allocations: 473.2 kB / 0.9595 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.8574, allocations: 112.8 kB / 0.9596 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.8576, allocations: 55.45 kB / 0.9596 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.8576, allocations: 1.188 kB / 0.9596 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.8576, allocations: 31.72 kB / 0.9597 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.8576, allocations: 0 / 0.9597 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0005662/0.8582, allocations: 191.6 kB / 0.9599 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.8582, allocations: 56.66 kB / 0.9599 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.8584, allocations: 158.4 kB / 0.9601 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.8584, allocations: 25.7 kB / 0.9601 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/0.8585, allocations: 127.5 kB / 0.9602 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.8585, allocations: 27.69 kB / 0.9602 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.8585, allocations: 28.52 kB / 0.9603 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.016e-05/0.8586, allocations: 325.4 kB / 0.9606 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.8587, allocations: 48.75 kB / 0.9606 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.8589, allocations: 75.23 kB / 0.9607 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.8592, allocations: 120.3 kB / 0.9608 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.8592, allocations: 4.969 kB / 0.9608 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000366/0.8596, allocations: 171 kB / 0.961 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.8596, allocations: 5.5 kB / 0.961 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.8596, allocations: 0 / 0.961 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.8596, allocations: 10.83 kB / 0.961 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.8598, allocations: 24.61 kB / 0.961 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.8598, allocations: 1.375 kB / 0.961 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.914e-05/0.8599, allocations: 21.45 kB / 0.961 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.86, allocations: 12.06 kB / 0.961 GB, free: 3.445 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 (reaToInt2.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.919e-05/0.8601, allocations: 135.9 kB / 0.9612 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.8601, allocations: 9.406 kB / 0.9612 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.8601, allocations: 15.47 kB / 0.9612 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.8601, allocations: 1.375 kB / 0.9612 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.8601, allocations: 0 / 0.9612 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.8602, allocations: 0 / 0.9612 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.8603, allocations: 237 kB / 0.9614 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.8604, allocations: 5.375 kB / 0.9614 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.8605, allocations: 20.48 kB / 0.9614 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.8605, allocations: 5.375 kB / 0.9615 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.8605, allocations: 3.984 kB / 0.9615 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.8605, allocations: 1.375 kB / 0.9615 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.8605, allocations: 0 / 0.9615 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003539/0.8609, allocations: 248 kB / 0.9617 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.411e-05/0.8609, allocations: 85.14 kB / 0.9618 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.8609, allocations: 0 / 0.9618 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.8611, allocations: 16.23 kB / 0.9618 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.783e-05/0.8611, allocations: 14.86 kB / 0.9618 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.924e-06/0.8611, allocations: 2.75 kB / 0.9618 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.24e-05/0.8612, allocations: 116.4 kB / 0.9619 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8612, allocations: 0 / 0.9619 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002451/0.8615, allocations: 29.59 kB / 0.9619 GB, free: 2.617 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 (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.0001128/0.8616, allocations: 101.3 kB / 0.962 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003725/0.8619, allocations: 121.1 kB / 0.9622 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.862, allocations: 5 kB / 0.9622 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.8621, allocations: 65.45 kB / 0.9622 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.8624, allocations: 21.28 kB / 0.9622 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005091/0.863, allocations: 339.3 kB / 0.9626 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.8631, allocations: 0.7107 MB / 0.9633 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/0.8632, allocations: 19.48 kB / 0.9633 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.8632, allocations: 3.938 kB / 0.9633 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of Templates: time 0.003194/0.8664, allocations: 1.614 MB / 0.9649 GB, free: 0.6094 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches