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.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.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.001326/0.001326, allocations: 110.2 kB / 16.41 MB, free: 6.477 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.001428/0.001428, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.289/1.289, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.509/2.509, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 67.89 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7243/0.7255, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002257/0.7278, allocations: 1.014 MB / 1.209 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.7291, allocations: 0.9791 MB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.7292, allocations: 4 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.099e-05/0.7293, allocations: 19.73 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.7295, allocations: 27.72 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.7297, allocations: 63.94 kB / 1.211 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.7299, allocations: 164 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002161/0.7301, allocations: 92.28 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.7303, allocations: 75.64 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.7304, allocations: 79.67 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.7305, allocations: 20 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.589e-05/0.7305, allocations: 16 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.765e-05/0.7305, allocations: 35.86 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.757e-05/0.7306, allocations: 75.59 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.7309, allocations: 223 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.7309, allocations: 0 / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.482e-06/0.7309, allocations: 0 / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.7309, allocations: 0 / 1.211 GB, free: 10.77 MB / 0.9356 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.0007084/0.7316, allocations: 452.8 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.7317, allocations: 12.03 kB / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/0.7317, allocations: 20.66 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004256/0.7321, allocations: 253.8 kB / 1.212 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.7322, allocations: 16.31 kB / 1.212 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.7322, allocations: 12.38 kB / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003309/0.7325, allocations: 150 kB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.7326, allocations: 4.125 kB / 1.212 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.7326, allocations: 15.94 kB / 1.212 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.7326, allocations: 4 kB / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003238/0.7329, allocations: 119.8 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007652/0.7337, allocations: 484.1 kB / 1.213 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.734, allocations: 122.6 kB / 1.213 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.7342, allocations: 48.83 kB / 1.213 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.7342, allocations: 4 kB / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.7342, allocations: 34.55 kB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.7342, allocations: 4 kB / 1.213 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.0005306/0.7348, allocations: 173.5 kB / 1.213 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.7348, allocations: 51.41 kB / 1.213 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.7349, allocations: 156.7 kB / 1.213 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.735, allocations: 33.64 kB / 1.213 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.902e-05/0.7351, allocations: 124.2 kB / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.7351, allocations: 35.47 kB / 1.213 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/0.7352, allocations: 37.7 kB / 1.214 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.7353, allocations: 326.8 kB / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.7355, allocations: 47.89 kB / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.7356, allocations: 73.94 kB / 1.214 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002937/0.7359, allocations: 115.7 kB / 1.214 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.7359, allocations: 0 / 1.214 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000369/0.7363, allocations: 153.4 kB / 1.214 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.7363, allocations: 8 kB / 1.214 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.7363, allocations: 0 / 1.214 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.7364, allocations: 0 / 1.214 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.7365, allocations: 31.91 kB / 1.214 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.7365, allocations: 0 / 1.214 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.809e-05/0.7366, allocations: 15.89 kB / 1.214 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.7367, allocations: 12.09 kB / 1.214 GB, free: 7.43 MB / 0.9356 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.0001065/0.7368, allocations: 125.8 kB / 1.214 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.7368, allocations: 11.91 kB / 1.214 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.715e-05/0.7369, allocations: 16.7 kB / 1.214 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.7369, allocations: 4 kB / 1.214 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.7369, allocations: 0 / 1.214 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.7369, allocations: 3.938 kB / 1.214 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.7372, allocations: 245.4 kB / 1.215 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.7372, allocations: 7.938 kB / 1.215 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.7373, allocations: 23.92 kB / 1.215 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.7373, allocations: 0 / 1.215 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.7373, allocations: 0 / 1.215 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.7373, allocations: 8 kB / 1.215 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.7373, allocations: 3.984 kB / 1.215 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00037/0.7377, allocations: 231.3 kB / 1.215 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.9e-05/0.7378, allocations: 85.02 kB / 1.215 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.7378, allocations: 4 kB / 1.215 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.7379, allocations: 7.984 kB / 1.215 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.437e-05/0.738, allocations: 19.92 kB / 1.215 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.738, allocations: 7.938 kB / 1.215 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.179e-05/0.7381, allocations: 117.2 kB / 1.215 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7381, allocations: 0 / 1.215 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002492/0.7383, allocations: 27.84 kB / 1.215 GB, free: 6.398 MB / 0.9356 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.0001212/0.7385, allocations: 107.2 kB / 1.215 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003539/0.7388, allocations: 111.9 kB / 1.215 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.7388, allocations: 0 / 1.215 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.739, allocations: 64.08 kB / 1.215 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.7393, allocations: 12 kB / 1.215 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005607/0.7399, allocations: 304.5 kB / 1.216 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.7402, allocations: 0.7162 MB / 1.216 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.839e-05/0.7402, allocations: 19.44 kB / 1.216 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of SimCode: time 1.663e-06/0.7403, allocations: 0 / 1.216 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of Templates: time 0.003433/0.7437, allocations: 1.727 MB / 1.218 GB, free: 3.293 MB / 0.9356 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