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.001442/0.001442, 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.001569/0.001569, 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.585/1.585, allocations: 225.6 MB / 249.4 MB, free: 3.289 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.728/2.728, allocations: 443.4 MB / 0.7304 GB, free: 13.87 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.002209/0.002209, allocations: 67.89 kB / 1.059 GB, free: 328 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3824, allocations: 160.7 MB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003575/0.386, allocations: 1.437 MB / 1.218 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001899/0.3879, allocations: 1.104 MB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002949/0.3882, allocations: 4 kB / 1.219 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.3883, allocations: 39.47 kB / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.3885, allocations: 39.61 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.3889, allocations: 123.8 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003723/0.3892, allocations: 328.7 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003652/0.3896, allocations: 169.9 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/0.3898, allocations: 131.4 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.39, allocations: 147.3 kB / 1.22 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.546e-05/0.3901, allocations: 40 kB / 1.22 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.685e-05/0.3902, allocations: 36 kB / 1.22 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.101e-05/0.3903, allocations: 83.69 kB / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.3904, allocations: 159.1 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005781/0.391, allocations: 473.9 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.391, allocations: 0 / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.769e-06/0.391, allocations: 3.984 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.136e-06/0.391, allocations: 4 kB / 1.22 GB, free: 10.98 MB / 0.9669 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.0009891/0.392, allocations: 0.5883 MB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.3921, allocations: 8.031 kB / 1.221 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.631e-05/0.3921, allocations: 36.7 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005802/0.3927, allocations: 325.2 kB / 1.221 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.624e-05/0.3927, allocations: 29.03 kB / 1.221 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.957e-05/0.3928, allocations: 28.38 kB / 1.221 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000642/0.3934, allocations: 282.6 kB / 1.222 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.3935, allocations: 4.172 kB / 1.222 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.575e-05/0.3935, allocations: 23.88 kB / 1.222 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.3935, allocations: 8 kB / 1.222 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005323/0.394, allocations: 226.5 kB / 1.222 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.3955, allocations: 0.8039 MB / 1.223 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005053/0.396, allocations: 221 kB / 1.223 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.3963, allocations: 104.8 kB / 1.223 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.65e-05/0.3963, allocations: 4 kB / 1.223 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.3963, allocations: 30.56 kB / 1.223 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=26): time 2.224e-06/0.3963, allocations: 0 / 1.223 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of matching and sorting (n=26): time 0.0007487/0.3971, allocations: 304.2 kB / 1.223 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.3971, allocations: 63.34 kB / 1.223 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.3973, allocations: 211.7 kB / 1.224 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.3974, allocations: 33.64 kB / 1.224 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.3975, allocations: 172.6 kB / 1.224 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.99e-05/0.3976, allocations: 87.27 kB / 1.224 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.945e-05/0.3977, allocations: 61.97 kB / 1.224 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3978, allocations: 334.8 kB / 1.224 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.398, allocations: 76.52 kB / 1.224 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.3983, allocations: 143.8 kB / 1.224 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004163/0.3987, allocations: 216.4 kB / 1.225 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3987, allocations: 4 kB / 1.225 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005497/0.3992, allocations: 271 kB / 1.225 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.3992, allocations: 8 kB / 1.225 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3993, allocations: 0 / 1.225 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.3993, allocations: 8 kB / 1.225 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.3995, allocations: 60.06 kB / 1.225 GB, free: 6 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.3995, allocations: 7.938 kB / 1.225 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.3997, allocations: 27.83 kB / 1.225 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.3997, allocations: 12 kB / 1.225 GB, free: 5.953 MB / 0.9669 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.0001673/0.3999, allocations: 153.8 kB / 1.225 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.428e-05/0.3999, allocations: 19.86 kB / 1.225 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005666/0.4005, allocations: 252.1 kB / 1.225 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.4005, allocations: 7.938 kB / 1.225 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.4005, allocations: 0 / 1.225 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.4005, allocations: 0 / 1.225 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004129/0.4009, allocations: 345.4 kB / 1.226 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.4009, allocations: 0 / 1.226 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.4011, allocations: 35.97 kB / 1.226 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.4011, allocations: 8 kB / 1.226 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.4011, allocations: 4 kB / 1.226 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.4011, allocations: 3.938 kB / 1.226 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.4011, allocations: 3.938 kB / 1.226 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005503/0.4017, allocations: 330.1 kB / 1.226 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.426e-05/0.4017, allocations: 96.91 kB / 1.226 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.4018, allocations: 12 kB / 1.226 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.4019, allocations: 11.92 kB / 1.226 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.255e-05/0.402, allocations: 27.97 kB / 1.226 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.402, allocations: 4 kB / 1.226 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001184/0.4021, allocations: 140.2 kB / 1.226 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.4021, allocations: 0 / 1.226 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002932/0.4024, allocations: 55.78 kB / 1.226 GB, free: 4.379 MB / 0.9669 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.0001744/0.4026, allocations: 123.2 kB / 1.227 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005247/0.4031, allocations: 201 kB / 1.227 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4031, allocations: 0 / 1.227 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.4033, allocations: 104.3 kB / 1.227 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.4037, allocations: 39.72 kB / 1.227 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009078/0.4046, allocations: 494.8 kB / 1.227 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.405, allocations: 0.7597 MB / 1.228 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000129/0.4052, allocations: 38.27 kB / 1.228 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.202e-05/0.4052, allocations: 27.44 kB / 1.228 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of SimCode: time 7.21e-07/0.4052, allocations: 0 / 1.228 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of Templates: time 0.005645/0.4109, allocations: 1.942 MB / 1.23 GB, free: 0.6562 MB / 0.9669 GB " [Timeout remaining time 300] 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: 8.893945585936308]