Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.CoolingOnly.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|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.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|actAirSet.VActHeaMax_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 98.8 kB / 16.02 MB, free: 76 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.001482/0.001482, allocations: 183.2 kB / 16.92 MB, free: 6.895 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.486/1.486, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.792/2.792, allocations: 462.6 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003611, allocations: 12.03 kB / 0.9035 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.342, allocations: 159.6 MB / 1.059 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.001462/0.3435, allocations: 0.7321 MB / 1.06 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001445/0.3449, allocations: 0.9713 MB / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.3451, allocations: 0 / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.792e-05/0.3452, allocations: 3.938 kB / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.3454, allocations: 15.86 kB / 1.061 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.3456, allocations: 55.89 kB / 1.061 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000212/0.3458, allocations: 160 kB / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002383/0.3461, allocations: 92.28 kB / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.3463, allocations: 47.72 kB / 1.061 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.3464, allocations: 59.62 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.255e-05/0.3465, allocations: 4 kB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.879e-05/0.3465, allocations: 4 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.361e-05/0.3465, allocations: 23.92 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.861e-05/0.3466, allocations: 77.31 kB / 1.062 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.3468, allocations: 171.7 kB / 1.062 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3469, allocations: 0 / 1.062 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.126e-06/0.3469, allocations: 0 / 1.062 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.3469, allocations: 0 / 1.062 GB, free: 2.5 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007371/0.3476, allocations: 427.1 kB / 1.062 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.3477, allocations: 11.97 kB / 1.062 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.378e-05/0.3478, allocations: 24.66 kB / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005154/0.3483, allocations: 261 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.3483, allocations: 12.38 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.3484, allocations: 20.38 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000388/0.3487, allocations: 162 kB / 1.063 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.3488, allocations: 192 / 1.063 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.3488, allocations: 7.938 kB / 1.063 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.3488, allocations: 4 kB / 1.063 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/0.3492, allocations: 127.9 kB / 1.063 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007742/0.35, allocations: 496 kB / 1.063 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.3503, allocations: 126.5 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.3505, allocations: 60.83 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.3505, allocations: 0 / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.3506, allocations: 38.56 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.3506, allocations: 0 / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.000604/0.3512, allocations: 189.8 kB / 1.064 GB, free: 412 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.3512, allocations: 55.41 kB / 1.064 GB, free: 344 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.3514, allocations: 161 kB / 1.064 GB, free: 168 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.3514, allocations: 25.7 kB / 1.064 GB, free: 136 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.066e-05/0.3515, allocations: 124.2 kB / 1.064 GB, free: 8 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.547e-05/0.3516, allocations: 35.7 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/0.3516, allocations: 29.7 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.3518, allocations: 326.8 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.3519, allocations: 47.97 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.3521, allocations: 75.39 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/0.3524, allocations: 127.4 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3524, allocations: 0 / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004046/0.3529, allocations: 169.3 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.3529, allocations: 6.188 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.3529, allocations: 7.938 kB / 1.065 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.3529, allocations: 3.984 kB / 1.065 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.3531, allocations: 28.08 kB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.3531, allocations: 4 kB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.3532, allocations: 23.83 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.3533, allocations: 7.938 kB / 1.065 GB, free: 15.09 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.intEqu1.y,actAirSet.intEqu2.y,actAirSet.intEqu.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.0001354/0.3534, allocations: 133.7 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.3535, allocations: 11.91 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/0.3535, allocations: 16.7 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3535, allocations: 4 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3535, allocations: 0 / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3535, allocations: 0 / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.3538, allocations: 237.5 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3538, allocations: 0 / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.354, allocations: 19.98 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.354, allocations: 0 / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.354, allocations: 7.984 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.354, allocations: 4 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.354, allocations: 0 / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004239/0.3544, allocations: 255.1 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.96e-05/0.3545, allocations: 84.95 kB / 1.066 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.3545, allocations: 12 kB / 1.066 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.3546, allocations: 11.98 kB / 1.066 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.782e-05/0.3547, allocations: 11.98 kB / 1.066 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.3547, allocations: 7.984 kB / 1.066 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.344e-05/0.3548, allocations: 113.3 kB / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3548, allocations: 4 kB / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002632/0.3551, allocations: 23.91 kB / 1.066 GB, free: 14.05 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.intEqu.y,actAirSet.intEqu2.y,actAirSet.intEqu1.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.0001479/0.3552, allocations: 113.7 kB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003812/0.3556, allocations: 124 kB / 1.066 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.3556, allocations: 0 / 1.066 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.3558, allocations: 67.89 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.3562, allocations: 15.94 kB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006325/0.3568, allocations: 362.5 kB / 1.066 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.3571, allocations: 0.7164 MB / 1.067 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.016e-05/0.3572, allocations: 19.42 kB / 1.067 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.3572, allocations: 3.938 kB / 1.067 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of Templates: time 0.003789/0.361, allocations: 1.673 MB / 1.069 GB, free: 10.91 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches