Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00139/0.00139, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.00159/0.00159, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.551/1.551, allocations: 225.6 MB / 249.4 MB, free: 3 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.126/3.126, allocations: 476.7 MB / 0.7629 GB, free: 15.28 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002351/0.002351, allocations: 63.89 kB / 1.107 GB, free: 4.566 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.261/1.264, allocations: 168.7 MB / 1.272 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.00338/1.267, allocations: 1.44 MB / 1.273 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002031/1.269, allocations: 1.106 MB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002429/1.269, allocations: 4.25 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/1.269, allocations: 38.94 kB / 1.275 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001843/1.27, allocations: 47.58 kB / 1.275 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004028/1.27, allocations: 123.1 kB / 1.275 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004339/1.27, allocations: 340.7 kB / 1.275 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003775/1.271, allocations: 159.7 kB / 1.275 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002409/1.271, allocations: 133.6 kB / 1.275 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/1.271, allocations: 148.5 kB / 1.275 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.453e-05/1.271, allocations: 39.56 kB / 1.275 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.663e-05/1.271, allocations: 37.84 kB / 1.276 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.961e-05/1.272, allocations: 86.84 kB / 1.276 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001601/1.272, allocations: 156.6 kB / 1.276 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006295/1.272, allocations: 490.3 kB / 1.276 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/1.272, allocations: 0 / 1.276 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.833e-06/1.272, allocations: 1.031 kB / 1.276 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.53e-05/1.272, allocations: 0 / 1.276 GB, free: 5.152 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.0008807/1.273, allocations: 0.5907 MB / 1.277 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/1.273, allocations: 9.281 kB / 1.277 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.395e-05/1.273, allocations: 37.95 kB / 1.277 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005406/1.274, allocations: 334.6 kB / 1.277 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.347e-05/1.274, allocations: 24.23 kB / 1.277 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.852e-05/1.274, allocations: 37.8 kB / 1.277 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006258/1.275, allocations: 293.7 kB / 1.277 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/1.275, allocations: 1.25 kB / 1.277 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/1.275, allocations: 14.5 kB / 1.278 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/1.275, allocations: 8.344 kB / 1.278 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005791/1.275, allocations: 243.1 kB / 1.278 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/1.277, allocations: 0.8147 MB / 1.279 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006288/1.277, allocations: 240.7 kB / 1.279 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/1.278, allocations: 101.7 kB / 1.279 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.394e-05/1.278, allocations: 4.719 kB / 1.279 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/1.278, allocations: 40.58 kB / 1.279 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=27): time 2.625e-06/1.278, allocations: 3.938 kB / 1.279 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of matching and sorting (n=27): time 0.0008758/1.279, allocations: 314.6 kB / 1.279 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/1.279, allocations: 54.19 kB / 1.279 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/1.279, allocations: 212.4 kB / 1.279 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/1.279, allocations: 31.45 kB / 1.279 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/1.279, allocations: 179.7 kB / 1.28 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.346e-05/1.279, allocations: 84.14 kB / 1.28 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/1.279, allocations: 72.36 kB / 1.28 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.092e-05/1.279, allocations: 330.2 kB / 1.28 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/1.28, allocations: 80.28 kB / 1.28 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002783/1.28, allocations: 135.9 kB / 1.28 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004611/1.28, allocations: 227 kB / 1.281 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.28, allocations: 0.8125 kB / 1.281 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006627/1.281, allocations: 274.5 kB / 1.281 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/1.281, allocations: 14.03 kB / 1.281 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/1.281, allocations: 3.125 kB / 1.281 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.707e-05/1.281, allocations: 7.062 kB / 1.281 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/1.281, allocations: 55.94 kB / 1.281 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/1.281, allocations: 3.906 kB / 1.281 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/1.281, allocations: 28.8 kB / 1.281 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/1.282, allocations: 13.98 kB / 1.281 GB, free: 1.988 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.0002518/1.282, allocations: 151.3 kB / 1.281 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.441e-05/1.282, allocations: 21.92 kB / 1.281 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006214/1.282, allocations: 256.7 kB / 1.281 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/1.282, allocations: 10.73 kB / 1.281 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/1.282, allocations: 0 / 1.281 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/1.282, allocations: 1.688 kB / 1.281 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004207/1.283, allocations: 352.8 kB / 1.282 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/1.283, allocations: 0 / 1.282 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/1.283, allocations: 40.58 kB / 1.282 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/1.283, allocations: 2.047 kB / 1.282 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/1.283, allocations: 5.484 kB / 1.282 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/1.283, allocations: 5.594 kB / 1.282 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.283, allocations: 0.5156 kB / 1.282 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004875/1.284, allocations: 332.2 kB / 1.282 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.721e-05/1.284, allocations: 94.44 kB / 1.282 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/1.284, allocations: 6.266 kB / 1.282 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/1.284, allocations: 17.09 kB / 1.282 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/1.284, allocations: 22.88 kB / 1.282 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/1.284, allocations: 15.55 kB / 1.282 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001111/1.284, allocations: 138.6 kB / 1.282 GB, free: 1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.284, allocations: 3.938 kB / 1.282 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003419/1.284, allocations: 66.91 kB / 1.282 GB, free: 0.9688 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.0001357/1.285, allocations: 111.8 kB / 1.283 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005797/1.285, allocations: 213.4 kB / 1.283 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.285, allocations: 4 kB / 1.283 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002185/1.285, allocations: 108.4 kB / 1.283 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/1.286, allocations: 21.36 kB / 1.283 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009939/1.287, allocations: 0.4959 MB / 1.283 GB, free: 452 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/1.287, allocations: 0.7654 MB / 1.284 GB, free: 15.74 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001413/1.287, allocations: 41.33 kB / 1.284 GB, free: 15.72 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.043e-05/1.287, allocations: 25.45 kB / 1.284 GB, free: 15.72 MB / 1.014 GB Notification: Performance of SimCode: time 8.72e-07/1.287, allocations: 0 / 1.284 GB, free: 15.72 MB / 1.014 GB Notification: Performance of Templates: time 0.006561/1.294, allocations: 1.977 MB / 1.286 GB, free: 15.55 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.22890919726342]