Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.01033/0.01033, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.55/1.55, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.6/2.6, allocations: 390.9 MB / 0.6663 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004495/0.0004494, allocations: 12 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8525/0.853, allocations: 142.4 MB / 0.9551 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.001242/0.8543, allocations: 0.6951 MB / 0.9558 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.8556, allocations: 0.9634 MB / 0.9567 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.8557, allocations: 1.469 kB / 0.9567 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.413e-05/0.8558, allocations: 13.33 kB / 0.9567 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001372/0.8559, allocations: 21.31 kB / 0.9567 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.8561, allocations: 48.66 kB / 0.9568 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.8563, allocations: 141.8 kB / 0.9569 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002028/0.8565, allocations: 86.53 kB / 0.957 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.8567, allocations: 47.97 kB / 0.9571 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.554e-05/0.8568, allocations: 62.31 kB / 0.9571 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.8568, allocations: 4.031 kB / 0.9571 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.843e-05/0.8569, allocations: 4.344 kB / 0.9571 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.689e-05/0.8569, allocations: 20.3 kB / 0.9571 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.836e-05/0.857, allocations: 76.03 kB / 0.9572 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.8571, allocations: 185.2 kB / 0.9574 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.8571, allocations: 0 / 0.9574 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8571, allocations: 3.938 kB / 0.9574 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.8572, allocations: 1.156 kB / 0.9574 GB, free: 5.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.0005511/0.8577, allocations: 427.8 kB / 0.9578 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.8578, allocations: 12.56 kB / 0.9578 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.554e-05/0.8578, allocations: 21.14 kB / 0.9578 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/0.8582, allocations: 260.4 kB / 0.9581 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.8583, allocations: 14.66 kB / 0.9581 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.8583, allocations: 13.66 kB / 0.9581 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003339/0.8587, allocations: 147.7 kB / 0.9583 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.8587, allocations: 0 / 0.9583 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.8587, allocations: 5.812 kB / 0.9583 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.8587, allocations: 3.75 kB / 0.9583 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003379/0.8591, allocations: 127.9 kB / 0.9584 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005904/0.8597, allocations: 472 kB / 0.9588 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.86, allocations: 117.5 kB / 0.9589 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.8601, allocations: 54.17 kB / 0.959 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.8602, allocations: 6.109 kB / 0.959 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/0.8602, allocations: 31.62 kB / 0.959 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.8602, allocations: 0 / 0.959 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0005795/0.8608, allocations: 187.8 kB / 0.9592 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.8608, allocations: 56.81 kB / 0.9593 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.861, allocations: 158.5 kB / 0.9594 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.861, allocations: 25.7 kB / 0.9594 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.469e-05/0.8611, allocations: 127.7 kB / 0.9596 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.8611, allocations: 31.3 kB / 0.9596 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.8611, allocations: 25.12 kB / 0.9596 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.281e-05/0.8612, allocations: 324.7 kB / 0.9599 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.8613, allocations: 53.48 kB / 0.96 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.8615, allocations: 70.19 kB / 0.96 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000303/0.8618, allocations: 121.1 kB / 0.9602 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.8618, allocations: 4 kB / 0.9602 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003679/0.8622, allocations: 162.3 kB / 0.9603 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.8622, allocations: 6.75 kB / 0.9603 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.8622, allocations: 5.469 kB / 0.9603 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.8623, allocations: 5.375 kB / 0.9603 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.8624, allocations: 29.97 kB / 0.9604 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.8624, allocations: 1.375 kB / 0.9604 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.8625, allocations: 17.47 kB / 0.9604 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.8626, allocations: 16.05 kB / 0.9604 GB, free: 3.359 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.063e-05/0.8627, allocations: 131.8 kB / 0.9605 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.8627, allocations: 13.34 kB / 0.9605 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.961e-05/0.8627, allocations: 14.09 kB / 0.9606 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.8628, allocations: 1.375 kB / 0.9606 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.8628, allocations: 1.375 kB / 0.9606 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.8628, allocations: 3.984 kB / 0.9606 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.863, allocations: 233.1 kB / 0.9608 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.863, allocations: 0 / 0.9608 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.8631, allocations: 29.84 kB / 0.9608 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.8631, allocations: 0 / 0.9608 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.8631, allocations: 1.375 kB / 0.9608 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.8632, allocations: 5.359 kB / 0.9608 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.8632, allocations: 0 / 0.9608 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003527/0.8635, allocations: 248.5 kB / 0.9611 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.05e-05/0.8636, allocations: 83.77 kB / 0.9611 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.8636, allocations: 1.375 kB / 0.9611 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.8637, allocations: 16.23 kB / 0.9611 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.354e-05/0.8638, allocations: 14.86 kB / 0.9612 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.8638, allocations: 6.734 kB / 0.9612 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.899e-05/0.8639, allocations: 112.6 kB / 0.9613 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8639, allocations: 0 / 0.9613 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002728/0.8641, allocations: 29.94 kB / 0.9613 GB, free: 2.531 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.0001378/0.8643, allocations: 108.8 kB / 0.9614 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003864/0.8647, allocations: 121.2 kB / 0.9615 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.8647, allocations: 4 kB / 0.9615 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.8649, allocations: 62.2 kB / 0.9616 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.8652, allocations: 23.55 kB / 0.9616 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005414/0.8657, allocations: 311.8 kB / 0.9619 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001542/0.8659, allocations: 0.7107 MB / 0.9626 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.863e-05/0.866, allocations: 20.64 kB / 0.9626 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.885e-05/0.8661, allocations: 20.06 kB / 0.9626 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8661, allocations: 0 / 0.9626 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of Templates: time 0.003869/0.87, allocations: 1.073 MB / 0.9637 GB, free: 0.8477 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches