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.001963/0.001963, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.607/1.607, allocations: 222.9 MB / 240.2 MB, free: 4.395 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 3.116/3.116, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 71.89 kB / 0.8693 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7513/0.7533, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.ActiveAirFlow): time 0.002984/0.7564, allocations: 0.9988 MB / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.7578, allocations: 0.9829 MB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.583e-05/0.7579, allocations: 0 / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.185e-05/0.7579, allocations: 15.8 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.7581, allocations: 15.81 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.7583, allocations: 59.86 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.7585, allocations: 163.6 kB / 1.02 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000238/0.7588, allocations: 84.16 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.7589, allocations: 67.72 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.7591, allocations: 67.69 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.919e-05/0.7591, allocations: 19.98 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.851e-05/0.7591, allocations: 16 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 7.943e-05/0.7592, allocations: 39.94 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.99e-05/0.7593, allocations: 71.66 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.7596, allocations: 193.2 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7596, allocations: 0 / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7596, allocations: 0 / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.557e-06/0.7596, allocations: 0 / 1.02 GB, free: 15.72 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.000789/0.7604, allocations: 455.1 kB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.7604, allocations: 8.031 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.521e-05/0.7605, allocations: 20.75 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004969/0.761, allocations: 252.3 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.7611, allocations: 16.66 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/0.7611, allocations: 12.38 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003443/0.7614, allocations: 140.4 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.7615, allocations: 192 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.7615, allocations: 11.94 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.7615, allocations: 4 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000336/0.7618, allocations: 116.7 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007477/0.7626, allocations: 480 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.7629, allocations: 102.6 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.7631, allocations: 52.81 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.7631, allocations: 4 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.7631, allocations: 34.56 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.7631, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0005821/0.7637, allocations: 165.7 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.7638, allocations: 55.41 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.7639, allocations: 161.3 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.764, allocations: 25.7 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.7641, allocations: 127.8 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.7641, allocations: 31.55 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-05/0.7642, allocations: 41.64 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.7644, allocations: 322.8 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.7645, allocations: 39.97 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.7647, allocations: 75.39 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/0.765, allocations: 115.3 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.765, allocations: 0 / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003583/0.7654, allocations: 149.4 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.7654, allocations: 4 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.7654, allocations: 0 / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.7654, allocations: 4 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.7656, allocations: 23.98 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.7656, allocations: 12.08 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.7657, allocations: 15.84 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.7658, allocations: 8 kB / 1.023 GB, free: 12.45 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.0001269/0.7659, allocations: 135.4 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.7659, allocations: 7.906 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/0.766, allocations: 16.72 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.766, allocations: 0 / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.766, allocations: 7.938 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.766, allocations: 0 / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.7663, allocations: 233.4 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.7663, allocations: 0 / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.7664, allocations: 19.98 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.7664, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.7665, allocations: 3.984 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.7665, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7665, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004033/0.7669, allocations: 235.3 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-05/0.7669, allocations: 92.94 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.767, allocations: 0 / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.7671, allocations: 11.98 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.066e-05/0.7672, allocations: 19.92 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.7672, allocations: 0 / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.99e-05/0.7673, allocations: 119.2 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7673, allocations: 0 / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002428/0.7676, allocations: 23.91 kB / 1.024 GB, free: 11.45 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.0001628/0.7677, allocations: 107.2 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003909/0.7681, allocations: 107.8 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7681, allocations: 4.188 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.7683, allocations: 59.95 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.7687, allocations: 15.03 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005972/0.7693, allocations: 272.7 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.7697, allocations: 0.7162 MB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.293e-05/0.7698, allocations: 16.64 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.918e-05/0.7698, allocations: 19.38 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7698, allocations: 0 / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of Templates: time 0.004678/0.7745, allocations: 1.219 MB / 1.026 GB, free: 8.91 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