Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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.00188/0.00188, allocations: 112.1 kB / 17.08 MB, free: 5.785 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.001913/0.001913, allocations: 198.1 kB / 20.03 MB, free: 2.906 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.534/1.534, allocations: 222.9 MB / 245.7 MB, free: 4.191 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.177/3.177, allocations: 489.3 MB / 0.7687 GB, free: 3.801 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.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|actAirSet.uOpeMod|actAirSet.VCooMax_flow|actAirSet.VHeaMin_flow|actAirSet.VHeaMax_flow|actAirSet.VOccMin_flow|actAirSet.VActCooMax_flow|actAirSet.VActMin_flow",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 71.83 kB / 1.103 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123/1.125, allocations: 163.8 MB / 1.263 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003098/1.128, allocations: 1.439 MB / 1.264 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002116/1.13, allocations: 1.093 MB / 1.265 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002649/1.13, allocations: 5.25 kB / 1.265 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001419/1.131, allocations: 38 kB / 1.265 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002132/1.131, allocations: 41.58 kB / 1.265 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004691/1.131, allocations: 125.7 kB / 1.265 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005164/1.132, allocations: 337.2 kB / 1.266 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005458/1.132, allocations: 214.4 kB / 1.266 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003159/1.133, allocations: 133 kB / 1.266 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/1.133, allocations: 150.6 kB / 1.266 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001053/1.133, allocations: 38.62 kB / 1.266 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/1.133, allocations: 42.12 kB / 1.266 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/1.133, allocations: 86.56 kB / 1.266 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002033/1.134, allocations: 161.5 kB / 1.266 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009588/1.135, allocations: 486 kB / 1.267 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/1.135, allocations: 0.8438 kB / 1.267 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.917e-06/1.135, allocations: 0 / 1.267 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.287e-05/1.135, allocations: 0 / 1.267 GB, free: 5.215 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001071/1.136, allocations: 0.5893 MB / 1.267 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/1.136, allocations: 13.77 kB / 1.267 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/1.136, allocations: 38.58 kB / 1.267 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006931/1.137, allocations: 327.8 kB / 1.268 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.934e-05/1.137, allocations: 27.72 kB / 1.268 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.558e-05/1.137, allocations: 33.47 kB / 1.268 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007996/1.138, allocations: 289.2 kB / 1.268 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/1.138, allocations: 4.125 kB / 1.268 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.845e-05/1.138, allocations: 23.72 kB / 1.268 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/1.138, allocations: 8.391 kB / 1.268 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006999/1.138, allocations: 235.5 kB / 1.268 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/1.14, allocations: 0.8111 MB / 1.269 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005823/1.141, allocations: 253.4 kB / 1.269 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002904/1.141, allocations: 113.3 kB / 1.27 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.289e-05/1.141, allocations: 3.672 kB / 1.27 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/1.141, allocations: 37.17 kB / 1.27 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=27): time 1.963e-06/1.141, allocations: 0 / 1.27 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of matching and sorting (n=27): time 0.0009062/1.142, allocations: 318.4 kB / 1.27 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/1.142, allocations: 54.44 kB / 1.27 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/1.142, allocations: 207.2 kB / 1.27 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/1.142, allocations: 31.58 kB / 1.27 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/1.142, allocations: 186.2 kB / 1.27 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.077e-05/1.142, allocations: 88.67 kB / 1.27 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/1.143, allocations: 63.19 kB / 1.27 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.95e-05/1.143, allocations: 335.9 kB / 1.271 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/1.143, allocations: 80.34 kB / 1.271 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/1.143, allocations: 142.7 kB / 1.271 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004775/1.144, allocations: 216.8 kB / 1.271 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/1.144, allocations: 0.8125 kB / 1.271 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006353/1.144, allocations: 276.5 kB / 1.271 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/1.144, allocations: 7.25 kB / 1.271 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/1.144, allocations: 8.578 kB / 1.271 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/1.144, allocations: 11.73 kB / 1.272 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/1.145, allocations: 50.58 kB / 1.272 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/1.145, allocations: 3.469 kB / 1.272 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/1.145, allocations: 32.12 kB / 1.272 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/1.145, allocations: 9.688 kB / 1.272 GB, free: 2.062 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 (reaToInt2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.y,actAirSet.or3.y,actAirSet.warUpMod.y,actAirSet.setBacMod.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 (34): * Single equations (assignments): 34 * 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.0002254/1.145, allocations: 167.8 kB / 1.272 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.592e-05/1.145, allocations: 26.33 kB / 1.272 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006528/1.146, allocations: 256.7 kB / 1.272 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/1.146, allocations: 11.56 kB / 1.272 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/1.146, allocations: 3.938 kB / 1.272 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/1.146, allocations: 2.219 kB / 1.272 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004411/1.146, allocations: 348.2 kB / 1.272 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/1.146, allocations: 0 / 1.272 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/1.146, allocations: 43.81 kB / 1.272 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/1.147, allocations: 1.141 kB / 1.272 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/1.147, allocations: 4.234 kB / 1.272 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/1.147, allocations: 3.938 kB / 1.272 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/1.147, allocations: 0.7188 kB / 1.272 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005289/1.147, allocations: 333.2 kB / 1.273 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/1.147, allocations: 94.78 kB / 1.273 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/1.147, allocations: 6.062 kB / 1.273 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/1.147, allocations: 14.42 kB / 1.273 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/1.147, allocations: 28.59 kB / 1.273 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/1.147, allocations: 9.594 kB / 1.273 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001154/1.148, allocations: 135.4 kB / 1.273 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.148, allocations: 0 / 1.273 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003529/1.148, allocations: 62.59 kB / 1.273 GB, free: 1.039 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: 9 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * 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.0001632/1.148, allocations: 114 kB / 1.273 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006007/1.149, allocations: 222.2 kB / 1.273 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.149, allocations: 0 / 1.273 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002627/1.149, allocations: 115.5 kB / 1.274 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/1.149, allocations: 20.94 kB / 1.274 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009795/1.15, allocations: 0.5219 MB / 1.274 GB, free: 484 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/1.151, allocations: 0.7661 MB / 1.275 GB, free: 15.77 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.674e-05/1.151, allocations: 29.56 kB / 1.275 GB, free: 15.77 MB / 1.014 GB Notification: Performance of SimCode: time 2.7e-07/1.151, allocations: 1.062 kB / 1.275 GB, free: 15.77 MB / 1.014 GB Notification: Performance of Templates: time 0.007644/1.158, allocations: 3.056 MB / 1.278 GB, free: 15.42 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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: 12.181566349929199]