Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001942/0.001941, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002306/0.002306, allocations: 196.1 kB / 16.14 MB, free: 6.719 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.565/1.565, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.92/2.92, allocations: 437 MB / 0.7099 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 71.89 kB / 0.8686 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8449/0.8469, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.00265/0.8496, allocations: 1.052 MB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.851, allocations: 0.9713 MB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.536e-05/0.8511, allocations: 4 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.212e-05/0.8511, allocations: 7.922 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.623e-05/0.8513, allocations: 15.86 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.8514, allocations: 51.97 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.00018/0.8516, allocations: 143.6 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002189/0.8518, allocations: 92.16 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.852, allocations: 55.72 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.8521, allocations: 71.67 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.8522, allocations: 8 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.526e-05/0.8522, allocations: 8 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.819e-05/0.8522, allocations: 23.86 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 8.056e-05/0.8523, allocations: 71.59 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.8526, allocations: 189.3 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.8526, allocations: 0 / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of FrontEnd: time 3.597e-06/0.8526, allocations: 0 / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.8526, allocations: 3.938 kB / 1.019 GB, free: 12 kB / 0.7637 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.0008293/0.8535, allocations: 455.1 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.8535, allocations: 8.031 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.179e-05/0.8536, allocations: 16.75 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005064/0.8541, allocations: 256.2 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.8541, allocations: 12.66 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.8541, allocations: 12.38 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003891/0.8545, allocations: 140.4 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.8546, allocations: 192 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.8546, allocations: 15.94 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.8546, allocations: 4 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003542/0.855, allocations: 112.8 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008091/0.8558, allocations: 476.1 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.8561, allocations: 102.6 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.8563, allocations: 52.88 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.8563, allocations: 4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.8564, allocations: 38.56 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.253e-06/0.8564, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0005833/0.8569, allocations: 165.3 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.857, allocations: 59.34 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.8572, allocations: 154.3 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.8572, allocations: 25.7 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.8573, allocations: 131.8 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.8574, allocations: 27.56 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.866e-05/0.8575, allocations: 41.64 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.8576, allocations: 326.8 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.8578, allocations: 35.97 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.858, allocations: 75.39 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002977/0.8583, allocations: 103.3 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8583, allocations: 4 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003834/0.8587, allocations: 149.4 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.8587, allocations: 4 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.8587, allocations: 7.938 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.8587, allocations: 0 / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.8589, allocations: 23.98 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.8589, allocations: 3.984 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.989e-05/0.859, allocations: 23.94 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.8591, allocations: 4 kB / 1.022 GB, free: 12.75 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.0001315/0.8592, allocations: 135.6 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.8592, allocations: 7.906 kB / 1.022 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.683e-05/0.8593, allocations: 16.72 kB / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.8593, allocations: 0 / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.8593, allocations: 0 / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.8593, allocations: 0 / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.8596, allocations: 241.4 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.8596, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.8597, allocations: 19.98 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.8598, allocations: 0 / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.8598, allocations: 11.97 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.8598, allocations: 4 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.8598, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004002/0.8602, allocations: 231.2 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.022e-05/0.8603, allocations: 85.02 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.8603, allocations: 4 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.8604, allocations: 11.98 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.167e-05/0.8605, allocations: 15.98 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.8605, allocations: 4 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.039e-05/0.8606, allocations: 113.6 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8606, allocations: 4 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002541/0.8609, allocations: 27.84 kB / 1.023 GB, free: 11.75 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.000171/0.8611, allocations: 108.4 kB / 1.023 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003749/0.8615, allocations: 115.7 kB / 1.023 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.8615, allocations: 192 / 1.023 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.8616, allocations: 63.83 kB / 1.023 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.862, allocations: 13.62 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006941/0.8627, allocations: 308.7 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.8632, allocations: 0.7122 MB / 1.024 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001023/0.8633, allocations: 20.64 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.537e-05/0.8633, allocations: 19.44 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of SimCode: time 5.61e-07/0.8633, allocations: 0 / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of Templates: time 0.004401/0.8677, allocations: 1.081 MB / 1.026 GB, free: 9.305 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches