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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008258/0.0008258, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008091/0.0008091, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8619/0.8619, allocations: 177.1 MB / 203.5 MB, free: 5.672 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.633/1.633, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.164e-06/2.164e-06, allocations: 0 / 0.9518 GB, free: 2.965 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.299e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.961 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.001789/0.001812, allocations: 1.317 MB / 0.9531 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.0029, allocations: 1.128 MB / 0.9542 GB, free: 0.4922 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.003011, allocations: 4 kB / 0.9542 GB, free: 500 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 6.041e-05/0.003072, allocations: 35.53 kB / 0.9542 GB, free: 464 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.003191, allocations: 51.53 kB / 0.9542 GB, free: 412 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.003459, allocations: 119.8 kB / 0.9544 GB, free: 292 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.00369, allocations: 352.5 kB / 0.9547 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/0.003903, allocations: 150.5 kB / 0.9548 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.004146, allocations: 211.5 kB / 0.955 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.00425, allocations: 103.7 kB / 0.9551 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.00429, allocations: 36 kB / 0.9552 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 7.934e-05/0.004369, allocations: 47.98 kB / 0.9552 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 4.423e-05/0.004413, allocations: 79.69 kB / 0.9553 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.148e-05/0.004475, allocations: 99.73 kB / 0.9554 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003544/0.004829, allocations: 0.4944 MB / 0.9559 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.004831, allocations: 3.938 kB / 0.9559 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.42e-07/0.004832, allocations: 0 / 0.9559 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.004837, allocations: 4 kB / 0.9559 GB, free: 14.72 MB / 0.9167 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.0005545/0.005392, allocations: 0.5134 MB / 0.9564 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.005428, allocations: 12.03 kB / 0.9564 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.005538, allocations: 44.69 kB / 0.9564 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003284/0.005866, allocations: 262.9 kB / 0.9567 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.005887, allocations: 25.38 kB / 0.9567 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.005916, allocations: 36.38 kB / 0.9567 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003342/0.00625, allocations: 295.1 kB / 0.957 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.006264, allocations: 4.125 kB / 0.957 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.006288, allocations: 16.38 kB / 0.957 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.006297, allocations: 8.375 kB / 0.957 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003099/0.006607, allocations: 239.8 kB / 0.9573 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006765/0.007283, allocations: 0.6545 MB / 0.9579 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.007569, allocations: 227.4 kB / 0.9581 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.007695, allocations: 101.3 kB / 0.9582 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.007714, allocations: 8.219 kB / 0.9582 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.007731, allocations: 30.8 kB / 0.9583 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=27): time 1.082e-06/0.007732, allocations: 0 / 0.9583 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of matching and sorting (n=27): time 0.0004032/0.008135, allocations: 311.6 kB / 0.9586 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.008165, allocations: 59.39 kB / 0.9586 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.008293, allocations: 211.7 kB / 0.9588 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.008309, allocations: 33.64 kB / 0.9589 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.369e-05/0.008393, allocations: 180.5 kB / 0.959 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.008434, allocations: 83.28 kB / 0.9591 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.846e-05/0.008492, allocations: 61.97 kB / 0.9592 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.401e-05/0.008576, allocations: 342.8 kB / 0.9595 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.008687, allocations: 80.52 kB / 0.9596 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.008822, allocations: 135.9 kB / 0.9597 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002394/0.009062, allocations: 223.6 kB / 0.9599 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.009064, allocations: 0 / 0.9599 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003062/0.00937, allocations: 273.2 kB / 0.9602 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.009382, allocations: 8 kB / 0.9602 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.009386, allocations: 4.219 kB / 0.9602 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.0094, allocations: 7.984 kB / 0.9602 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.009524, allocations: 51.91 kB / 0.9602 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.00953, allocations: 7.938 kB / 0.9602 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.393e-05/0.009594, allocations: 31.83 kB / 0.9603 GB, free: 9.984 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.009607, allocations: 11.94 kB / 0.9603 GB, free: 9.973 MB / 0.9167 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.0001102/0.009717, allocations: 154.3 kB / 0.9604 GB, free: 9.812 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.00974, allocations: 19.86 kB / 0.9605 GB, free: 9.793 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003119/0.01005, allocations: 248.4 kB / 0.9607 GB, free: 9.543 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01005, allocations: 4 kB / 0.9607 GB, free: 9.539 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.01006, allocations: 0 / 0.9607 GB, free: 9.539 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01006, allocations: 7.922 kB / 0.9607 GB, free: 9.531 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.01026, allocations: 257 kB / 0.961 GB, free: 9.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.01026, allocations: 3.938 kB / 0.961 GB, free: 9.246 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.494e-05/0.01035, allocations: 39.97 kB / 0.961 GB, free: 9.207 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01035, allocations: 0 / 0.961 GB, free: 9.207 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.01036, allocations: 8 kB / 0.961 GB, free: 9.199 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01036, allocations: 0 / 0.961 GB, free: 9.199 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.01036, allocations: 0 / 0.961 GB, free: 9.199 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.01065, allocations: 335.4 kB / 0.9613 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.786e-05/0.01066, allocations: 31.78 kB / 0.9614 GB, free: 8.824 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.01068, allocations: 4 kB / 0.9614 GB, free: 8.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.997e-05/0.01074, allocations: 15.98 kB / 0.9614 GB, free: 8.805 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.0108, allocations: 27.95 kB / 0.9614 GB, free: 8.777 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.01081, allocations: 4 kB / 0.9614 GB, free: 8.773 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.36e-05/0.01088, allocations: 141.5 kB / 0.9615 GB, free: 8.637 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01088, allocations: 0 / 0.9615 GB, free: 8.637 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001985/0.01108, allocations: 63.78 kB / 0.9616 GB, free: 8.574 MB / 0.9167 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 9.43e-05/0.01118, allocations: 107.2 kB / 0.9617 GB, free: 8.461 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00029/0.01147, allocations: 219.7 kB / 0.9619 GB, free: 8.246 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.01147, allocations: 0 / 0.9619 GB, free: 8.246 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.01159, allocations: 103.9 kB / 0.962 GB, free: 8.145 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.01179, allocations: 20 kB / 0.962 GB, free: 8.125 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005597/0.01235, allocations: 0.4984 MB / 0.9625 GB, free: 7.594 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.98e-05/0.01245, allocations: 159.5 kB / 0.9627 GB, free: 7.422 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.03e-05/0.01251, allocations: 28.5 kB / 0.9627 GB, free: 7.395 MB / 0.9167 GB Notification: Performance of SimCode: time 5.41e-07/0.01251, allocations: 0 / 0.9627 GB, free: 7.395 MB / 0.9167 GB Notification: Performance of Templates: time 0.003261/0.01577, allocations: 3.15 MB / 0.9658 GB, free: 4.258 MB / 0.9167 GB " [Timeout remaining time 300] 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: 6.424055065959692]