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.001358/0.001358, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 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.001504/0.001504, allocations: 216.5 kB / 23.03 MB, free: 4.922 MB / 14.72 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 1.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.791/2.791, allocations: 476.8 MB / 0.7715 GB, free: 3.832 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 60.41 kB / 1.118 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3681, allocations: 170 MB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002925/0.3711, allocations: 1.304 MB / 1.285 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001588/0.3727, allocations: 1.132 MB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.3728, allocations: 8 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.3729, allocations: 35.53 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.3731, allocations: 39.61 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.3735, allocations: 131.8 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004069/0.3739, allocations: 336.6 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003764/0.3743, allocations: 161.7 kB / 1.287 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003278/0.3746, allocations: 151.4 kB / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.3748, allocations: 151.2 kB / 1.287 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.107e-05/0.3749, allocations: 36 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.714e-05/0.375, allocations: 47.94 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.606e-05/0.3751, allocations: 83.75 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.3752, allocations: 127.3 kB / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000649/0.3759, allocations: 489.9 kB / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.3759, allocations: 4 kB / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3759, allocations: 0 / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.3759, allocations: 0 / 1.288 GB, free: 6.281 MB / 0.9825 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.001005/0.3769, allocations: 0.5211 MB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.3769, allocations: 8.031 kB / 1.289 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.773e-05/0.377, allocations: 9.188 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.195e-05/0.377, allocations: 70.72 kB / 1.289 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/0.3773, allocations: 48.69 kB / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005955/0.3778, allocations: 263.7 kB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.252e-05/0.3779, allocations: 33.38 kB / 1.289 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.944e-05/0.3779, allocations: 32.38 kB / 1.289 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006322/0.3786, allocations: 294.8 kB / 1.289 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3786, allocations: 0 / 1.289 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.3786, allocations: 16 kB / 1.289 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.3786, allocations: 8 kB / 1.289 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005476/0.3792, allocations: 235.8 kB / 1.29 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.3804, allocations: 0.7126 MB / 1.29 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005096/0.3809, allocations: 227.4 kB / 1.291 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.3811, allocations: 97.28 kB / 1.291 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.3812, allocations: 4.234 kB / 1.291 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.3812, allocations: 38.8 kB / 1.291 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=27): time 1.463e-06/0.3812, allocations: 0 / 1.291 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27): time 0.0008335/0.382, allocations: 319.5 kB / 1.291 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.3821, allocations: 51.41 kB / 1.291 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.3823, allocations: 219.6 kB / 1.291 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/0.3823, allocations: 29.7 kB / 1.291 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.3825, allocations: 180.5 kB / 1.292 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.328e-05/0.3826, allocations: 79.33 kB / 1.292 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.3827, allocations: 69.92 kB / 1.292 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.3829, allocations: 334.8 kB / 1.292 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.3831, allocations: 80.52 kB / 1.292 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/0.3833, allocations: 143.9 kB / 1.292 GB, free: 2 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004441/0.3838, allocations: 214.7 kB / 1.292 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.3838, allocations: 4 kB / 1.292 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005607/0.3843, allocations: 274.2 kB / 1.293 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.3843, allocations: 8.219 kB / 1.293 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.3844, allocations: 11.92 kB / 1.293 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3844, allocations: 0 / 1.293 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.3846, allocations: 59.83 kB / 1.293 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.3846, allocations: 4 kB / 1.293 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.3848, allocations: 35.77 kB / 1.293 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.3848, allocations: 12 kB / 1.293 GB, free: 1.359 MB / 0.9825 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.0002219/0.385, allocations: 150.3 kB / 1.293 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.216e-05/0.3851, allocations: 27.86 kB / 1.293 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000615/0.3857, allocations: 252.1 kB / 1.293 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.3857, allocations: 4 kB / 1.293 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3857, allocations: 0 / 1.293 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3857, allocations: 3.984 kB / 1.293 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003964/0.3861, allocations: 296.5 kB / 1.293 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3861, allocations: 0 / 1.293 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.3863, allocations: 39.92 kB / 1.294 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.637e-06/0.3863, allocations: 11.97 kB / 1.294 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.3863, allocations: 7.938 kB / 1.294 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3863, allocations: 0 / 1.294 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3863, allocations: 0 / 1.294 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005592/0.3869, allocations: 327.3 kB / 1.294 GB, free: 196 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.94e-05/0.3869, allocations: 23.78 kB / 1.294 GB, free: 172 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.712e-05/0.387, allocations: 15.94 kB / 1.294 GB, free: 156 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.3871, allocations: 8 kB / 1.294 GB, free: 148 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.949e-05/0.3872, allocations: 31.95 kB / 1.294 GB, free: 116 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.3872, allocations: 7.984 kB / 1.294 GB, free: 108 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001283/0.3873, allocations: 137.5 kB / 1.294 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3873, allocations: 0 / 1.294 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003209/0.3877, allocations: 59.78 kB / 1.294 GB, free: 15.91 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.0009164/0.3886, allocations: 0.8828 MB / 1.295 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005198/0.3891, allocations: 207.8 kB / 1.295 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3891, allocations: 0 / 1.295 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002431/0.3893, allocations: 108.2 kB / 1.295 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.3897, allocations: 42.42 kB / 1.295 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/0.3931, allocations: 2.407 MB / 1.298 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/0.3933, allocations: 155.5 kB / 1.298 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001264/0.3934, allocations: 30.28 kB / 1.298 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.3936, allocations: 103.4 kB / 1.298 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.3936, allocations: 0 / 1.298 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03383/0.4274, allocations: 4.34 MB / 1.302 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.2, allocations: 11.66 kB / 1.302 GB, free: 7.688 MB / 0.9981 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.88384733197745] Failed to read output from testmodel.py, exit status != 0: 12.968033600016497 12.379011116 11.999151065 Calling exit ...