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.009254/0.009254, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.00176/0.00176, allocations: 197.8 kB / 16.67 MB, free: 5.973 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.612/1.612, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.509/2.509, allocations: 390.2 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 71.16 kB / 0.9509 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3552, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002489/0.3577, allocations: 1.005 MB / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.359, allocations: 0.9635 MB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.779e-05/0.3591, allocations: 0 / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.429e-05/0.3592, allocations: 11.81 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.3593, allocations: 27.73 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.3596, allocations: 59.94 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.3598, allocations: 167.6 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.36, allocations: 76.19 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.3601, allocations: 71.7 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.3602, allocations: 67.69 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.189e-05/0.3603, allocations: 16 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.32e-05/0.3603, allocations: 16 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.664e-05/0.3604, allocations: 47.78 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.743e-05/0.3604, allocations: 75.59 kB / 1.091 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.3607, allocations: 203.1 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3607, allocations: 0 / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3607, allocations: 0 / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.3607, allocations: 0 / 1.091 GB, free: 14.7 MB / 0.8575 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.0006302/0.3614, allocations: 451 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.3614, allocations: 8.031 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.3615, allocations: 20.84 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004256/0.3619, allocations: 252.3 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.3619, allocations: 12.59 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.3619, allocations: 12.38 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003223/0.3623, allocations: 151.9 kB / 1.092 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3623, allocations: 0 / 1.092 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.3623, allocations: 4 kB / 1.092 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.3623, allocations: 8 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003455/0.3627, allocations: 112.8 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006249/0.3633, allocations: 472.2 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.3636, allocations: 106.7 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.3638, allocations: 48.83 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.3638, allocations: 3.984 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.3638, allocations: 34.56 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.163e-06/0.3638, allocations: 0 / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0005439/0.3644, allocations: 177.4 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.3644, allocations: 51.41 kB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.3646, allocations: 159.5 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.3646, allocations: 25.7 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.038e-05/0.3647, allocations: 119.9 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.3647, allocations: 31.73 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.769e-05/0.3648, allocations: 33.7 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3649, allocations: 330.8 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.3651, allocations: 39.97 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.3652, allocations: 71.39 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.3655, allocations: 111.6 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3655, allocations: 0 / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003564/0.3659, allocations: 157.5 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3659, allocations: 4 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.3659, allocations: 0 / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.366, allocations: 4 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.3662, allocations: 23.97 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.3662, allocations: 4 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.58e-05/0.3663, allocations: 19.86 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.3663, allocations: 11.94 kB / 1.094 GB, free: 11.45 MB / 0.8575 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.0001443/0.3664, allocations: 131.2 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.3665, allocations: 11.91 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.147e-05/0.3665, allocations: 16.7 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3665, allocations: 4 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.3666, allocations: 3.938 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3666, allocations: 0 / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.3668, allocations: 229.5 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3668, allocations: 0 / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.367, allocations: 27.97 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.367, allocations: 4 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.367, allocations: 0 / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.367, allocations: 0 / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.367, allocations: 0 / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003806/0.3674, allocations: 235.3 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.3675, allocations: 89 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.3675, allocations: 4 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.3676, allocations: 11.98 kB / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.322e-05/0.3677, allocations: 23.91 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.3677, allocations: 0 / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.044e-05/0.3678, allocations: 114 kB / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3678, allocations: 0 / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002479/0.3681, allocations: 23.95 kB / 1.095 GB, free: 10.45 MB / 0.8575 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.0001557/0.3682, allocations: 115.2 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003627/0.3686, allocations: 99.88 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3686, allocations: 0 / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.3688, allocations: 59.89 kB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.3691, allocations: 17.41 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005351/0.3697, allocations: 264.7 kB / 1.095 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.37, allocations: 0.7161 MB / 1.096 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.339e-05/0.3701, allocations: 20.62 kB / 1.096 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.044e-05/0.3701, allocations: 19.38 kB / 1.096 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of SimCode: time 3.3e-07/0.3701, allocations: 0 / 1.096 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of Templates: time 0.003933/0.3741, allocations: 1.238 MB / 1.097 GB, free: 7.895 MB / 0.8575 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