Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001214/0.001214, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009501/0.009501, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.522/1.522, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.952/2.952, allocations: 462.7 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003842, allocations: 10.06 kB / 0.9028 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3618, allocations: 159.6 MB / 1.059 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.001616/0.3634, allocations: 0.7127 MB / 1.059 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.3648, allocations: 0.9674 MB / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.449e-05/0.365, allocations: 4 kB / 1.06 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.936e-05/0.365, allocations: 7.922 kB / 1.06 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.3651, allocations: 11.86 kB / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.3654, allocations: 63.83 kB / 1.06 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.3655, allocations: 152 kB / 1.061 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002367/0.3658, allocations: 88.08 kB / 1.061 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.366, allocations: 47.78 kB / 1.061 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.933e-05/0.3661, allocations: 51.7 kB / 1.061 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.3661, allocations: 4 kB / 1.061 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.883e-05/0.3661, allocations: 8 kB / 1.061 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.14e-05/0.3662, allocations: 27.78 kB / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.989e-05/0.3662, allocations: 85.31 kB / 1.061 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.3665, allocations: 191.5 kB / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3665, allocations: 0 / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.624e-06/0.3665, allocations: 0 / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.3665, allocations: 0 / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0006574/0.3672, allocations: 419.1 kB / 1.061 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.3672, allocations: 12.03 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.601e-05/0.3673, allocations: 16.75 kB / 1.062 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.3677, allocations: 268 kB / 1.062 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.3678, allocations: 8.375 kB / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.3678, allocations: 16.38 kB / 1.062 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003398/0.3681, allocations: 159.1 kB / 1.062 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.3682, allocations: 4.172 kB / 1.062 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.3682, allocations: 11.92 kB / 1.062 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.3682, allocations: 4 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003471/0.3685, allocations: 127.9 kB / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007401/0.3693, allocations: 484 kB / 1.063 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004256/0.3697, allocations: 130.6 kB / 1.063 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.37, allocations: 64.77 kB / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.37, allocations: 0 / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.3701, allocations: 34.55 kB / 1.063 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.3701, allocations: 0 / 1.063 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0008147/0.3709, allocations: 193.4 kB / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.371, allocations: 55.34 kB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.3712, allocations: 152.4 kB / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.3712, allocations: 37.7 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.739e-05/0.3713, allocations: 120.2 kB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.3713, allocations: 35.55 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.3714, allocations: 25.7 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3715, allocations: 326.8 kB / 1.064 GB, free: 132 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.3717, allocations: 47.91 kB / 1.064 GB, free: 84 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.3719, allocations: 83.39 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/0.3723, allocations: 127.2 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.3723, allocations: 4 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003823/0.3727, allocations: 165.4 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3727, allocations: 4 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3727, allocations: 0 / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.3727, allocations: 4 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.373, allocations: 32.02 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.373, allocations: 3.984 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.3731, allocations: 15.91 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.3731, allocations: 11.98 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.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 (15): * Single equations (assignments): 15 * 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.000112/0.3733, allocations: 129.7 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.3733, allocations: 7.906 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.872e-05/0.3733, allocations: 20.72 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.3733, allocations: 3.984 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.3734, allocations: 0 / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3734, allocations: 4 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.3736, allocations: 237.4 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3736, allocations: 0 / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.3737, allocations: 27.91 kB / 1.065 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3738, allocations: 11.94 kB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3738, allocations: 0 / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.3738, allocations: 7.984 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3738, allocations: 0 / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003759/0.3742, allocations: 243.9 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.3742, allocations: 88.92 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.3742, allocations: 0 / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.3744, allocations: 15.98 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.128e-05/0.3744, allocations: 19.97 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.3745, allocations: 0 / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.218e-05/0.3745, allocations: 118.6 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.403e-06/0.3745, allocations: 0 / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002383/0.3748, allocations: 27.88 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0001423/0.3749, allocations: 115.9 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003615/0.3753, allocations: 132 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3753, allocations: 0 / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.3755, allocations: 63.91 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.3758, allocations: 21.67 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006005/0.3764, allocations: 324 kB / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.3767, allocations: 0.7204 MB / 1.066 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.886e-05/0.3768, allocations: 17.03 kB / 1.066 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.117e-05/0.3769, allocations: 23.42 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of SimCode: time 4.3e-07/0.3769, allocations: 0 / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of Templates: time 0.003912/0.3808, allocations: 1.083 MB / 1.067 GB, free: 12.07 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches