Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001863/0.001863, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.002188/0.002188, allocations: 195 kB / 16.25 MB, free: 6.637 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.58/1.58, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.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.87/2.87, allocations: 437 MB / 0.7101 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 67.89 kB / 0.8688 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9492/0.9512, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.003256/0.9545, allocations: 1.054 MB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.9561, allocations: 0.9674 MB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.702e-05/0.9562, allocations: 4 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.649e-05/0.9563, allocations: 7.922 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.9564, allocations: 15.86 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.9567, allocations: 51.95 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.9569, allocations: 159.6 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000261/0.9572, allocations: 92.17 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.9573, allocations: 67.72 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.9575, allocations: 71.67 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.577e-05/0.9576, allocations: 16 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.189e-05/0.9576, allocations: 16 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.276e-05/0.9576, allocations: 39.84 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 8.22e-05/0.9577, allocations: 67.61 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0003106/0.9581, allocations: 205.3 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.9581, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9581, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.9581, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 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.0008191/0.9589, allocations: 449.2 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.959, allocations: 8.031 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.095e-05/0.959, allocations: 20.75 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005174/0.9596, allocations: 260.2 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.9596, allocations: 12.66 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.9596, allocations: 12.38 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003585/0.96, allocations: 144.4 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.96, allocations: 192 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.9601, allocations: 7.938 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.9601, allocations: 4 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003454/0.9604, allocations: 120.7 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007809/0.9612, allocations: 472 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.9615, allocations: 106.6 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.9617, allocations: 48.83 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.9617, allocations: 4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.9618, allocations: 34.56 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.9618, allocations: 3.938 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0006175/0.9624, allocations: 169.4 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.9625, allocations: 51.41 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.9627, allocations: 153.5 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.9627, allocations: 33.7 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.991e-05/0.9628, allocations: 123.8 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.966e-05/0.9629, allocations: 31.55 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.034e-05/0.9629, allocations: 33.7 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002007/0.9631, allocations: 326.8 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.9633, allocations: 39.97 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.9635, allocations: 75.39 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.9638, allocations: 111.6 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.9638, allocations: 7.938 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003701/0.9642, allocations: 141.4 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.9642, allocations: 8 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.9642, allocations: 0 / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.9642, allocations: 0 / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.9644, allocations: 31.97 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.006e-06/0.9644, allocations: 0 / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.927e-05/0.9645, allocations: 23.92 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.9646, allocations: 4 kB / 1.023 GB, free: 12.62 MB / 0.7794 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.0001467/0.9647, allocations: 142.2 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.9648, allocations: 7.906 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.6e-05/0.9648, allocations: 20.7 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.9648, allocations: 0 / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.9648, allocations: 0 / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.9648, allocations: 4 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003058/0.9651, allocations: 233.4 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.9652, allocations: 4 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.9653, allocations: 19.97 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.9653, allocations: 0 / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.9653, allocations: 4 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.9653, allocations: 0 / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/0.9653, allocations: 7.938 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004258/0.9658, allocations: 227.3 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.029e-05/0.9659, allocations: 88.95 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.9659, allocations: 0 / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.966, allocations: 11.98 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.9661, allocations: 15.98 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.9661, allocations: 7.984 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.351e-05/0.9662, allocations: 107.2 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9662, allocations: 4 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002554/0.9665, allocations: 31.84 kB / 1.023 GB, free: 11.61 MB / 0.7794 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.0001854/0.9667, allocations: 107.2 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003889/0.9671, allocations: 111.9 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.9671, allocations: 192 / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.9673, allocations: 51.97 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.9677, allocations: 20.17 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006947/0.9684, allocations: 317.3 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.9688, allocations: 0.7161 MB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001002/0.9689, allocations: 20.64 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.84e-05/0.9689, allocations: 15.44 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.969, allocations: 0 / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of Templates: time 0.004931/0.9739, allocations: 1.129 MB / 1.026 GB, free: 9.121 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches