Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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.ParallelFanCVF.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.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001865/0.001865, 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.00274/0.00274, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.508/1.508, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.715/2.715, allocations: 437 MB / 0.7103 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 63.91 kB / 0.8693 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7537/0.7552, allocations: 151.6 MB / 1.017 GB, free: 2.621 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002441/0.7577, allocations: 1.007 MB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.7588, allocations: 0.9713 MB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.595e-05/0.7589, allocations: 4 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.717e-05/0.759, allocations: 15.8 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.7591, allocations: 15.75 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.7593, allocations: 67.86 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.7595, allocations: 159.6 kB / 1.02 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.7597, allocations: 84.19 kB / 1.02 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.7598, allocations: 67.7 kB / 1.02 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.76, allocations: 71.69 kB / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.274e-05/0.76, allocations: 16 kB / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.919e-05/0.76, allocations: 16 kB / 1.02 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.062e-05/0.7601, allocations: 39.83 kB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.626e-05/0.7602, allocations: 63.67 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.7604, allocations: 197.3 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.7604, allocations: 4 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7604, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.7604, allocations: 4 kB / 1.02 GB, free: 15.82 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.0006459/0.7611, allocations: 447.1 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.7611, allocations: 8.031 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.7612, allocations: 16.75 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004153/0.7616, allocations: 260.3 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.7616, allocations: 8.656 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.7617, allocations: 12.38 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.762, allocations: 144.4 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.762, allocations: 4.125 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.762, allocations: 7.938 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.7621, allocations: 4 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003199/0.7624, allocations: 124.6 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006466/0.763, allocations: 468.1 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.7633, allocations: 114.5 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.7635, allocations: 52.92 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.7635, allocations: 0 / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.7636, allocations: 34.56 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 8.72e-07/0.7636, allocations: 0 / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0005283/0.7641, allocations: 169.4 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.7642, allocations: 55.41 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.7643, allocations: 158.2 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.7643, allocations: 25.7 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.692e-05/0.7644, allocations: 123.8 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.7644, allocations: 31.56 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.856e-05/0.7645, allocations: 37.7 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.7646, allocations: 326.8 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.7648, allocations: 43.95 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.7649, allocations: 63.41 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.7652, allocations: 115.2 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.7652, allocations: 0 / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003419/0.7656, allocations: 145.9 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.7656, allocations: 8 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.7656, allocations: 4 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.7656, allocations: 0 / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.7658, allocations: 31.91 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.7658, allocations: 0 / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.577e-05/0.7659, allocations: 23.83 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.7659, allocations: 4.094 kB / 1.023 GB, free: 12.56 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 9.895e-05/0.766, allocations: 131.7 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.7661, allocations: 11.91 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.194e-05/0.7661, allocations: 12.72 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.7661, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.7661, allocations: 7.938 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.7662, allocations: 3.984 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.7664, allocations: 233.4 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.7664, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.7665, allocations: 27.91 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.7665, allocations: 0 / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.7666, allocations: 11.94 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.7666, allocations: 0 / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7666, allocations: 0 / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003513/0.7669, allocations: 227.4 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.834e-05/0.767, allocations: 88.95 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.767, allocations: 8 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.7671, allocations: 7.984 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.903e-05/0.7672, allocations: 23.84 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.7672, allocations: 4 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.079e-05/0.7673, allocations: 115.2 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7673, allocations: 0 / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002415/0.7676, allocations: 23.91 kB / 1.024 GB, free: 11.55 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.0001322/0.7677, allocations: 107.2 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003692/0.7681, allocations: 107.9 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7681, allocations: 0 / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.7682, allocations: 59.89 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.7686, allocations: 25.75 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005463/0.7692, allocations: 256.8 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.7694, allocations: 0.7084 MB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.197e-05/0.7695, allocations: 20.64 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.04e-05/0.7696, allocations: 23.38 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.7696, allocations: 0 / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of Templates: time 0.003885/0.7735, allocations: 1.227 MB / 1.026 GB, free: 9.016 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches