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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 114 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 194.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.146/3.146, allocations: 489.3 MB / 0.7687 GB, free: 3.75 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 63.91 kB / 1.103 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9979/1, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow): time 0.002412/1.003, allocations: 1.026 MB / 1.264 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001374/1.004, allocations: 0.9737 MB / 1.265 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/1.004, allocations: 6.438 kB / 1.265 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.37e-05/1.004, allocations: 20.3 kB / 1.265 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001276/1.005, allocations: 19.22 kB / 1.265 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/1.005, allocations: 65.38 kB / 1.265 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000259/1.005, allocations: 166.9 kB / 1.265 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002802/1.005, allocations: 88.62 kB / 1.265 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002367/1.006, allocations: 74.86 kB / 1.265 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/1.006, allocations: 76.83 kB / 1.265 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.62e-05/1.006, allocations: 17.41 kB / 1.265 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.692e-05/1.006, allocations: 17.25 kB / 1.265 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.663e-05/1.006, allocations: 38.11 kB / 1.265 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001109/1.006, allocations: 77.45 kB / 1.265 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005149/1.007, allocations: 216 kB / 1.265 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/1.007, allocations: 8.594 kB / 1.265 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.888e-06/1.007, allocations: 0 / 1.265 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.737e-05/1.007, allocations: 4 kB / 1.265 GB, free: 6.129 MB / 0.9981 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.0009147/1.008, allocations: 455.1 kB / 1.266 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.225e-05/1.008, allocations: 10.05 kB / 1.266 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.448e-05/1.008, allocations: 17.22 kB / 1.266 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005244/1.008, allocations: 256 kB / 1.266 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/1.008, allocations: 14.36 kB / 1.266 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/1.008, allocations: 18.41 kB / 1.266 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004322/1.009, allocations: 145.2 kB / 1.266 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/1.009, allocations: 1.25 kB / 1.266 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/1.009, allocations: 12.86 kB / 1.266 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/1.009, allocations: 3.938 kB / 1.266 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004412/1.009, allocations: 118.3 kB / 1.266 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/1.01, allocations: 492.5 kB / 1.267 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00041/1.011, allocations: 121.9 kB / 1.267 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/1.011, allocations: 54.98 kB / 1.267 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/1.011, allocations: 9.438 kB / 1.267 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/1.011, allocations: 32.98 kB / 1.267 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/1.011, allocations: 0 / 1.267 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0007053/1.012, allocations: 169.9 kB / 1.267 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/1.012, allocations: 53.41 kB / 1.267 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/1.012, allocations: 162.2 kB / 1.267 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/1.012, allocations: 26.64 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.41e-05/1.012, allocations: 125.1 kB / 1.268 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/1.012, allocations: 30.19 kB / 1.268 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.532e-05/1.012, allocations: 40.44 kB / 1.268 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.355e-05/1.012, allocations: 325.5 kB / 1.268 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/1.013, allocations: 44.27 kB / 1.268 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/1.013, allocations: 85.19 kB / 1.268 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/1.013, allocations: 108.6 kB / 1.268 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.013, allocations: 0.7812 kB / 1.268 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004128/1.013, allocations: 153.8 kB / 1.268 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/1.014, allocations: 5.812 kB / 1.268 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.014, allocations: 2.438 kB / 1.268 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/1.014, allocations: 5.594 kB / 1.268 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/1.014, allocations: 27.8 kB / 1.268 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.026e-06/1.014, allocations: 10.62 kB / 1.268 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/1.014, allocations: 13.89 kB / 1.268 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/1.014, allocations: 4.75 kB / 1.268 GB, free: 3.832 MB / 0.9981 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.0001033/1.014, allocations: 141.2 kB / 1.269 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/1.014, allocations: 9.203 kB / 1.269 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.169e-05/1.014, allocations: 16.64 kB / 1.269 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/1.014, allocations: 1.469 kB / 1.269 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.014, allocations: 4.812 kB / 1.269 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/1.014, allocations: 1.594 kB / 1.269 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/1.014, allocations: 243 kB / 1.269 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.014, allocations: 0 / 1.269 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/1.015, allocations: 24.38 kB / 1.269 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/1.015, allocations: 0.7812 kB / 1.269 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/1.015, allocations: 5.203 kB / 1.269 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/1.015, allocations: 5.328 kB / 1.269 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.015, allocations: 0.75 kB / 1.269 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/1.015, allocations: 231.6 kB / 1.269 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/1.015, allocations: 93.33 kB / 1.269 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/1.015, allocations: 1.312 kB / 1.269 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/1.015, allocations: 12.02 kB / 1.269 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.17e-05/1.015, allocations: 16.06 kB / 1.269 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/1.015, allocations: 4.656 kB / 1.269 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.345e-05/1.015, allocations: 114.7 kB / 1.269 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.015, allocations: 0 / 1.269 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002992/1.016, allocations: 30.73 kB / 1.269 GB, free: 3.055 MB / 0.9981 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.000144/1.016, allocations: 112.3 kB / 1.269 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004329/1.016, allocations: 116.7 kB / 1.27 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.016, allocations: 0.75 kB / 1.27 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001867/1.017, allocations: 61.94 kB / 1.27 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/1.017, allocations: 10.28 kB / 1.27 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006481/1.018, allocations: 301 kB / 1.27 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/1.018, allocations: 0.7167 MB / 1.271 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.913e-05/1.018, allocations: 19.08 kB / 1.271 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of SimCode: time 7.72e-07/1.018, allocations: 0 / 1.271 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of Templates: time 0.004048/1.022, allocations: 1.723 MB / 1.272 GB, free: 1.797 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 800] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.ActiveAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.69201040896587]