Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001339/0.001339, allocations: 194 kB / 16.14 MB, free: 6.691 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.412/1.412, allocations: 222.9 MB / 239.8 MB, free: 4.531 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.493/2.493, allocations: 390.2 MB / 0.6642 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 64.14 kB / 0.8119 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8464/0.8477, allocations: 140.4 MB / 0.949 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002369/0.8501, allocations: 1.052 MB / 0.95 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009048/0.8511, allocations: 0.9718 MB / 0.9509 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.864e-05/0.8512, allocations: 2.75 kB / 0.9509 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.676e-05/0.8512, allocations: 11.86 kB / 0.951 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.625e-05/0.8513, allocations: 9.312 kB / 0.951 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.8515, allocations: 61.5 kB / 0.951 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.8516, allocations: 142 kB / 0.9512 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.8518, allocations: 80.94 kB / 0.9512 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.852, allocations: 64.64 kB / 0.9513 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.503e-05/0.8521, allocations: 66.25 kB / 0.9514 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.8521, allocations: 13.84 kB / 0.9514 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.397e-05/0.8521, allocations: 8.125 kB / 0.9514 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.783e-05/0.8522, allocations: 27.75 kB / 0.9514 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.143e-05/0.8522, allocations: 65.69 kB / 0.9515 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.8524, allocations: 192.2 kB / 0.9517 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.8524, allocations: 0 / 0.9517 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.163e-06/0.8524, allocations: 0 / 0.9517 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.926e-06/0.8524, allocations: 0 / 0.9517 GB, free: 7.031 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.0006176/0.853, allocations: 445.8 kB / 0.9521 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.8531, allocations: 10.09 kB / 0.9521 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/0.8532, allocations: 15.94 kB / 0.9521 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004111/0.8536, allocations: 254.2 kB / 0.9524 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.8536, allocations: 10.66 kB / 0.9524 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.8536, allocations: 17.2 kB / 0.9524 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.8539, allocations: 146.1 kB / 0.9525 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.854, allocations: 0 / 0.9525 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.854, allocations: 5 kB / 0.9525 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.854, allocations: 3.969 kB / 0.9525 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003203/0.8543, allocations: 121.7 kB / 0.9526 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000544/0.8549, allocations: 469.3 kB / 0.9531 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.8552, allocations: 117.7 kB / 0.9532 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.8553, allocations: 49.23 kB / 0.9532 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.8553, allocations: 2.062 kB / 0.9533 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.281e-05/0.8554, allocations: 31.66 kB / 0.9533 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.8554, allocations: 4 kB / 0.9533 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0005129/0.8559, allocations: 163.8 kB / 0.9534 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.8559, allocations: 52.91 kB / 0.9535 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.856, allocations: 153.2 kB / 0.9536 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.856, allocations: 35.11 kB / 0.9537 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.8561, allocations: 122.2 kB / 0.9538 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.8561, allocations: 32.05 kB / 0.9538 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.384e-05/0.8562, allocations: 34.14 kB / 0.9539 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.957e-05/0.8562, allocations: 329 kB / 0.9542 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.8564, allocations: 43.34 kB / 0.9542 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.8565, allocations: 78.48 kB / 0.9543 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.8568, allocations: 99.67 kB / 0.9544 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.8568, allocations: 1.781 kB / 0.9544 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003376/0.8572, allocations: 146.2 kB / 0.9545 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.8572, allocations: 7.719 kB / 0.9545 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.8572, allocations: 1.156 kB / 0.9545 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.8572, allocations: 5 kB / 0.9545 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.8574, allocations: 38.53 kB / 0.9546 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.8574, allocations: 1.438 kB / 0.9546 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.833e-05/0.8575, allocations: 23.89 kB / 0.9546 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.8576, allocations: 7.438 kB / 0.9546 GB, free: 4.484 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 9.241e-05/0.8577, allocations: 126.1 kB / 0.9547 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.8577, allocations: 13.05 kB / 0.9547 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.727e-05/0.8577, allocations: 18.73 kB / 0.9547 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.8577, allocations: 1.25 kB / 0.9547 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.8578, allocations: 1.062 kB / 0.9548 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.8578, allocations: 0 / 0.9548 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.858, allocations: 229 kB / 0.955 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.858, allocations: 5.375 kB / 0.955 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.8581, allocations: 29.81 kB / 0.955 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.8581, allocations: 0 / 0.955 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.8581, allocations: 1.5 kB / 0.955 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.8581, allocations: 1.469 kB / 0.955 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.8581, allocations: 3.938 kB / 0.955 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.8585, allocations: 233 kB / 0.9552 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.668e-05/0.8585, allocations: 84.8 kB / 0.9553 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.8586, allocations: 1.188 kB / 0.9553 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.8587, allocations: 8.359 kB / 0.9553 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.534e-05/0.8587, allocations: 18.09 kB / 0.9553 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.8588, allocations: 3.656 kB / 0.9553 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.05e-05/0.8588, allocations: 112.3 kB / 0.9554 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8588, allocations: 0 / 0.9554 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002506/0.8591, allocations: 33.5 kB / 0.9555 GB, free: 3.66 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.0001149/0.8592, allocations: 109.6 kB / 0.9556 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003493/0.8596, allocations: 110 kB / 0.9557 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8596, allocations: 0 / 0.9557 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.8597, allocations: 56.88 kB / 0.9557 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.8601, allocations: 11.98 kB / 0.9558 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004911/0.8606, allocations: 312.2 kB / 0.9561 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.8607, allocations: 0.7115 MB / 0.9567 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.998e-05/0.8608, allocations: 15.7 kB / 0.9568 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.714e-05/0.8609, allocations: 23.11 kB / 0.9568 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.8609, allocations: 0 / 0.9568 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.003418/0.8643, allocations: 1.08 MB / 0.9578 GB, free: 1.984 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches