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.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.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.001518/0.001518, allocations: 108 kB / 15.61 MB, free: 152 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.001972/0.001972, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.48/1.48, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.459/2.459, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.91 kB / 0.8126 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8644/0.8656, allocations: 140.3 MB / 0.9496 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002798/0.8685, allocations: 1.015 MB / 0.9506 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.8699, allocations: 0.965 MB / 0.9516 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.87, allocations: 2.75 kB / 0.9516 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.858e-05/0.8701, allocations: 19.73 kB / 0.9516 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.8703, allocations: 21.19 kB / 0.9516 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.8705, allocations: 65.48 kB / 0.9517 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.8707, allocations: 152.2 kB / 0.9518 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002822/0.871, allocations: 84.14 kB / 0.9519 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.8712, allocations: 69.38 kB / 0.952 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.8713, allocations: 73.62 kB / 0.952 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.06e-05/0.8714, allocations: 16.94 kB / 0.952 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.179e-05/0.8714, allocations: 15.19 kB / 0.9521 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.905e-05/0.8715, allocations: 40.86 kB / 0.9521 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.446e-05/0.8715, allocations: 73.66 kB / 0.9522 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.8718, allocations: 193.1 kB / 0.9523 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.8718, allocations: 0 / 0.9523 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.744e-06/0.8718, allocations: 0 / 0.9523 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.8718, allocations: 0 / 0.9523 GB, free: 6.891 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.0007771/0.8726, allocations: 451.2 kB / 0.9528 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.8726, allocations: 8.406 kB / 0.9528 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.798e-05/0.8727, allocations: 17.41 kB / 0.9528 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.8731, allocations: 250.2 kB / 0.953 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.8732, allocations: 11.62 kB / 0.9531 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.8732, allocations: 11.88 kB / 0.9531 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/0.8736, allocations: 157.9 kB / 0.9532 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.8736, allocations: 0 / 0.9532 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.8736, allocations: 5.375 kB / 0.9532 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.8736, allocations: 3.094 kB / 0.9532 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003594/0.874, allocations: 110.2 kB / 0.9533 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006099/0.8746, allocations: 480.4 kB / 0.9538 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.8749, allocations: 107.7 kB / 0.9539 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.8751, allocations: 56.67 kB / 0.9539 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.8751, allocations: 1.469 kB / 0.9539 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.8751, allocations: 31.78 kB / 0.954 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.8751, allocations: 0 / 0.954 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0005623/0.8757, allocations: 172.3 kB / 0.9541 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.8757, allocations: 52.78 kB / 0.9542 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.8759, allocations: 155.7 kB / 0.9543 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.8759, allocations: 31.2 kB / 0.9544 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.983e-05/0.876, allocations: 122.2 kB / 0.9545 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.876, allocations: 31.83 kB / 0.9545 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.867e-05/0.8761, allocations: 38.02 kB / 0.9545 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.766e-05/0.8762, allocations: 330 kB / 0.9549 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.8764, allocations: 41.47 kB / 0.9549 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.8765, allocations: 70.02 kB / 0.955 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.8768, allocations: 106.3 kB / 0.9551 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.8768, allocations: 0 / 0.9551 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003622/0.8772, allocations: 156 kB / 0.9552 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.8772, allocations: 9.078 kB / 0.9552 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.8772, allocations: 5.25 kB / 0.9552 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.8773, allocations: 1.344 kB / 0.9552 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.8774, allocations: 22.3 kB / 0.9553 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.8775, allocations: 1.719 kB / 0.9553 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.829e-05/0.8776, allocations: 18.83 kB / 0.9553 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.8776, allocations: 8.375 kB / 0.9553 GB, free: 4.344 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 0.0001199/0.8777, allocations: 129.9 kB / 0.9554 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.775e-05/0.8778, allocations: 12.22 kB / 0.9554 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.718e-05/0.8778, allocations: 19.86 kB / 0.9554 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.8778, allocations: 0.8125 kB / 0.9554 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.8778, allocations: 1.156 kB / 0.9554 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.57e-05/0.8779, allocations: 0 / 0.9554 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.8781, allocations: 237.4 kB / 0.9557 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.8781, allocations: 4 kB / 0.9557 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.8783, allocations: 17.92 kB / 0.9557 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.8783, allocations: 1 kB / 0.9557 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.8783, allocations: 1.156 kB / 0.9557 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.8783, allocations: 8.906 kB / 0.9557 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8783, allocations: 0 / 0.9557 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003849/0.8787, allocations: 229.5 kB / 0.9559 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.8788, allocations: 92.28 kB / 0.956 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.8788, allocations: 1.281 kB / 0.956 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.8789, allocations: 8.594 kB / 0.956 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.879, allocations: 25.89 kB / 0.956 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.879, allocations: 7.438 kB / 0.956 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.349e-05/0.8791, allocations: 113.3 kB / 0.9562 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8791, allocations: 0 / 0.9562 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002868/0.8794, allocations: 26.03 kB / 0.9562 GB, free: 3.508 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.000209/0.8796, allocations: 101.1 kB / 0.9563 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000433/0.8801, allocations: 119.2 kB / 0.9564 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8801, allocations: 3.938 kB / 0.9564 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.8803, allocations: 53.53 kB / 0.9564 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004562/0.8807, allocations: 15.98 kB / 0.9565 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008105/0.8816, allocations: 264.9 kB / 0.9567 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.8818, allocations: 0.7174 MB / 0.9574 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001185/0.8819, allocations: 14.92 kB / 0.9574 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.675e-05/0.882, allocations: 21.36 kB / 0.9574 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of SimCode: time 3.5e-07/0.882, allocations: 0 / 0.9574 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of Templates: time 0.00477/0.8868, allocations: 1.225 MB / 0.9586 GB, free: 1.801 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/jenkins/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