Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.008328/0.008328, allocations: 98.36 kB / 15.73 MB, free: 6.055 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.001473/0.001473, allocations: 194.6 kB / 16.68 MB, free: 5.969 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.563/2.563, allocations: 437 MB / 0.7105 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 71.88 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103/1.104, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002358/1.106, allocations: 1.008 MB / 1.168 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001183/1.108, allocations: 0.9752 MB / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.478e-05/1.108, allocations: 4 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.985e-05/1.108, allocations: 15.8 kB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001402/1.108, allocations: 19.75 kB / 1.169 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000242/1.108, allocations: 63.92 kB / 1.169 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001869/1.108, allocations: 155.6 kB / 1.169 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002292/1.109, allocations: 88.19 kB / 1.169 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/1.109, allocations: 71.7 kB / 1.169 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/1.109, allocations: 67.69 kB / 1.169 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/1.109, allocations: 16 kB / 1.169 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.56e-05/1.109, allocations: 16 kB / 1.169 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.823e-05/1.109, allocations: 43.78 kB / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.912e-05/1.109, allocations: 71.66 kB / 1.169 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000356/1.11, allocations: 199.7 kB / 1.169 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.11, allocations: 4 kB / 1.169 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.915e-06/1.11, allocations: 4 kB / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.237e-06/1.11, allocations: 0 / 1.169 GB, free: 1.008 MB / 0.8887 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.0008534/1.11, allocations: 450.9 kB / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/1.11, allocations: 12.92 kB / 1.17 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.814e-05/1.111, allocations: 20.84 kB / 1.17 GB, free: 492 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004555/1.111, allocations: 256.3 kB / 1.17 GB, free: 196 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/1.111, allocations: 8.656 kB / 1.17 GB, free: 188 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/1.111, allocations: 12.38 kB / 1.17 GB, free: 176 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003353/1.111, allocations: 141 kB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/1.111, allocations: 192 / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/1.111, allocations: 7.938 kB / 1.17 GB, free: 24 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/1.111, allocations: 7.938 kB / 1.17 GB, free: 16 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003323/1.112, allocations: 112.8 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007676/1.113, allocations: 480.1 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/1.113, allocations: 102.6 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/1.113, allocations: 56.88 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/1.113, allocations: 0 / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.07e-05/1.113, allocations: 38.56 kB / 1.171 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/1.113, allocations: 3.938 kB / 1.171 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0005375/1.114, allocations: 161.4 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/1.114, allocations: 59.41 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/1.114, allocations: 155.9 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/1.114, allocations: 25.7 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.848e-05/1.114, allocations: 127.9 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/1.114, allocations: 27.75 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.214e-05/1.114, allocations: 37.7 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002213/1.114, allocations: 326.8 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/1.115, allocations: 39.97 kB / 1.172 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/1.115, allocations: 72.89 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/1.115, allocations: 111.7 kB / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/1.115, allocations: 0 / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003367/1.115, allocations: 153.4 kB / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/1.115, allocations: 4 kB / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/1.115, allocations: 4 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/1.115, allocations: 4.094 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/1.116, allocations: 23.98 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/1.116, allocations: 3.984 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.716e-05/1.116, allocations: 15.95 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/1.116, allocations: 7.984 kB / 1.172 GB, free: 13.75 MB / 0.9044 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.000122/1.116, allocations: 132.3 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/1.116, allocations: 7.953 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.637e-05/1.116, allocations: 20.72 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/1.116, allocations: 0 / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/1.116, allocations: 0 / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/1.116, allocations: 0 / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000293/1.116, allocations: 245.3 kB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/1.116, allocations: 0 / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/1.116, allocations: 19.98 kB / 1.173 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/1.116, allocations: 4 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/1.116, allocations: 7.984 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/1.116, allocations: 0 / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.116, allocations: 8 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003957/1.117, allocations: 223.3 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/1.117, allocations: 89.02 kB / 1.173 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/1.117, allocations: 4 kB / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/1.117, allocations: 7.984 kB / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.63e-05/1.117, allocations: 19.98 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/1.117, allocations: 4 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001372/1.117, allocations: 117.1 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.117, allocations: 3.938 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002442/1.118, allocations: 27.83 kB / 1.173 GB, free: 12.74 MB / 0.9044 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.000165/1.118, allocations: 107.2 kB / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004155/1.118, allocations: 107.9 kB / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.118, allocations: 0 / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/1.118, allocations: 63.89 kB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/1.119, allocations: 14.05 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005973/1.119, allocations: 264.6 kB / 1.174 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/1.12, allocations: 0.7122 MB / 1.174 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.817e-05/1.12, allocations: 20.59 kB / 1.174 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.429e-05/1.12, allocations: 23.42 kB / 1.174 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of SimCode: time 3.71e-07/1.12, allocations: 0 / 1.174 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of Templates: time 0.004061/1.124, allocations: 1.238 MB / 1.176 GB, free: 10.18 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches