Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001831/0.001831, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.00205/0.00205, allocations: 184.7 kB / 22.22 MB, free: 5.105 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.529/1.529, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.767/2.767, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_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_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 67.91 kB / 1.061 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009/1.011, allocations: 160.8 MB / 1.219 GB, free: 3.867 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003305/1.014, allocations: 1.432 MB / 1.22 GB, free: 2.746 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001864/1.016, allocations: 1.094 MB / 1.221 GB, free: 1.844 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/1.016, allocations: 4.438 kB / 1.221 GB, free: 1.844 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/1.016, allocations: 35.53 kB / 1.221 GB, free: 1.809 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001769/1.017, allocations: 52.06 kB / 1.221 GB, free: 1.762 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003586/1.017, allocations: 120.1 kB / 1.221 GB, free: 1.66 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004209/1.017, allocations: 336.5 kB / 1.221 GB, free: 1.445 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003605/1.018, allocations: 161.3 kB / 1.222 GB, free: 1.332 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000239/1.018, allocations: 132.4 kB / 1.222 GB, free: 1.242 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/1.018, allocations: 153.8 kB / 1.222 GB, free: 1.117 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.965e-05/1.018, allocations: 38.41 kB / 1.222 GB, free: 1.117 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.999e-05/1.018, allocations: 37.53 kB / 1.222 GB, free: 1.117 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.661e-05/1.018, allocations: 81.14 kB / 1.222 GB, free: 1.047 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001795/1.019, allocations: 160.1 kB / 1.222 GB, free: 0.918 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005865/1.019, allocations: 477.5 kB / 1.223 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.019, allocations: 9.188 kB / 1.223 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.643e-06/1.019, allocations: 0 / 1.223 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.538e-06/1.019, allocations: 0 / 1.223 GB, free: 0.5195 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0009991/1.02, allocations: 0.5824 MB / 1.223 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.02, allocations: 9.906 kB / 1.223 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.935e-05/1.02, allocations: 38.17 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006049/1.021, allocations: 334.4 kB / 1.224 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.494e-05/1.021, allocations: 23.94 kB / 1.224 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.15e-05/1.021, allocations: 32.09 kB / 1.224 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000628/1.022, allocations: 280.5 kB / 1.224 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/1.022, allocations: 192 / 1.224 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.968e-05/1.022, allocations: 19.28 kB / 1.224 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/1.022, allocations: 19.95 kB / 1.224 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005884/1.022, allocations: 232.6 kB / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/1.024, allocations: 0.8014 MB / 1.225 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005244/1.024, allocations: 215.5 kB / 1.225 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002627/1.024, allocations: 98.02 kB / 1.225 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.657e-05/1.024, allocations: 6.969 kB / 1.225 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/1.024, allocations: 32.62 kB / 1.225 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=26): time 1.773e-06/1.024, allocations: 0 / 1.225 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26): time 0.0008434/1.025, allocations: 307.5 kB / 1.226 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.43e-05/1.025, allocations: 58.03 kB / 1.226 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/1.026, allocations: 211.4 kB / 1.226 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/1.026, allocations: 30.83 kB / 1.226 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/1.026, allocations: 183.5 kB / 1.226 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.657e-05/1.026, allocations: 77.06 kB / 1.226 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/1.026, allocations: 67.56 kB / 1.226 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000196/1.026, allocations: 331.4 kB / 1.227 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/1.027, allocations: 77.8 kB / 1.227 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002947/1.027, allocations: 137.5 kB / 1.227 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004639/1.027, allocations: 222.3 kB / 1.227 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.027, allocations: 0 / 1.227 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006236/1.028, allocations: 275.4 kB / 1.227 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/1.028, allocations: 9.844 kB / 1.227 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/1.028, allocations: 2.094 kB / 1.227 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/1.028, allocations: 3.438 kB / 1.227 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/1.028, allocations: 59.86 kB / 1.227 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/1.028, allocations: 10.42 kB / 1.227 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/1.028, allocations: 29.56 kB / 1.227 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/1.028, allocations: 17.02 kB / 1.227 GB, free: 12.9 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (reaToInt2.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 (33): * Single equations (assignments): 33 * 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.0002521/1.029, allocations: 156.6 kB / 1.227 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.321e-05/1.029, allocations: 21.45 kB / 1.228 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00065/1.029, allocations: 245 kB / 1.228 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/1.029, allocations: 6.969 kB / 1.228 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.029, allocations: 0 / 1.228 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/1.029, allocations: 1.406 kB / 1.228 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005393/1.03, allocations: 350.7 kB / 1.228 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.03, allocations: 0 / 1.228 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/1.03, allocations: 38.16 kB / 1.228 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/1.03, allocations: 1.281 kB / 1.228 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/1.03, allocations: 9.391 kB / 1.228 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/1.03, allocations: 5.031 kB / 1.228 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.03, allocations: 0 / 1.228 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006409/1.031, allocations: 332.8 kB / 1.228 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.726e-05/1.031, allocations: 98.84 kB / 1.229 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/1.031, allocations: 5.609 kB / 1.229 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/1.031, allocations: 12.62 kB / 1.229 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/1.031, allocations: 29.05 kB / 1.229 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/1.031, allocations: 5.375 kB / 1.229 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000141/1.031, allocations: 140.1 kB / 1.229 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/1.031, allocations: 7.938 kB / 1.229 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003328/1.032, allocations: 61.59 kB / 1.229 GB, free: 11.75 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: 8 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.000175/1.032, allocations: 112.2 kB / 1.229 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005412/1.032, allocations: 204.5 kB / 1.229 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.032, allocations: 5.375 kB / 1.229 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002424/1.033, allocations: 98.08 kB / 1.229 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/1.033, allocations: 29.84 kB / 1.229 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/1.034, allocations: 480.2 kB / 1.23 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005557/1.035, allocations: 0.7624 MB / 1.23 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000138/1.035, allocations: 38.11 kB / 1.23 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.637e-05/1.035, allocations: 23.69 kB / 1.23 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of SimCode: time 6.51e-07/1.035, allocations: 0 / 1.23 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of Templates: time 0.006944/1.042, allocations: 2.026 MB / 1.232 GB, free: 8.59 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.653583593666553]