Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001791/0.001791, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.002076/0.002076, allocations: 215 kB / 20.13 MB, free: 2.949 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.544/1.544, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.12/3.12, allocations: 0.49 GB / 0.7923 GB, free: 1.285 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.00199/0.00199, allocations: 67.91 kB / 1.15 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1/1.002, allocations: 176.1 MB / 1.322 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.002573/1.005, allocations: 1.441 MB / 1.323 GB, free: 23.73 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001383/1.006, allocations: 1.149 MB / 1.324 GB, free: 22.85 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/1.006, allocations: 9.344 kB / 1.324 GB, free: 22.85 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.669e-05/1.007, allocations: 34.17 kB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001544/1.007, allocations: 48.09 kB / 1.324 GB, free: 22.78 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/1.007, allocations: 130.8 kB / 1.324 GB, free: 22.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002521/1.007, allocations: 337.5 kB / 1.325 GB, free: 22.53 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002966/1.008, allocations: 160.7 kB / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002435/1.008, allocations: 142.8 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/1.008, allocations: 143.9 kB / 1.325 GB, free: 22.27 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.104e-05/1.008, allocations: 39.06 kB / 1.325 GB, free: 22.27 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.224e-05/1.008, allocations: 43.8 kB / 1.325 GB, free: 22.27 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.323e-05/1.008, allocations: 88.94 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.424e-05/1.008, allocations: 158.7 kB / 1.325 GB, free: 22.09 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003938/1.009, allocations: 488.8 kB / 1.326 GB, free: 21.9 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/1.009, allocations: 4 kB / 1.326 GB, free: 21.9 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.934e-06/1.009, allocations: 0 / 1.326 GB, free: 21.9 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.115e-06/1.009, allocations: 0 / 1.326 GB, free: 21.9 MB / 1.061 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.0007452/1.009, allocations: 0.5901 MB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/1.009, allocations: 16.27 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.779e-05/1.009, allocations: 9.625 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.037e-05/1.009, allocations: 68.45 kB / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/1.01, allocations: 49.66 kB / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/1.01, allocations: 334.9 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/1.01, allocations: 23.22 kB / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/1.01, allocations: 36.16 kB / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004667/1.011, allocations: 298.4 kB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/1.011, allocations: 0 / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/1.011, allocations: 17.69 kB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/1.011, allocations: 7.812 kB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005304/1.011, allocations: 233.7 kB / 1.327 GB, free: 20.78 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/1.012, allocations: 0.8136 MB / 1.328 GB, free: 20.25 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005507/1.013, allocations: 229.2 kB / 1.328 GB, free: 20.14 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000265/1.013, allocations: 104.3 kB / 1.329 GB, free: 20.11 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/1.013, allocations: 4.172 kB / 1.329 GB, free: 20.11 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/1.013, allocations: 40.36 kB / 1.329 GB, free: 20.06 MB / 1.061 GB Notification: Performance of pre-optimization done (n=27): time 1.533e-06/1.013, allocations: 7.938 kB / 1.329 GB, free: 20.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=27): time 0.0008077/1.014, allocations: 306 kB / 1.329 GB, free: 19.93 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/1.014, allocations: 54.75 kB / 1.329 GB, free: 19.87 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/1.014, allocations: 211.7 kB / 1.329 GB, free: 19.72 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/1.014, allocations: 30.23 kB / 1.329 GB, free: 19.69 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/1.014, allocations: 194.7 kB / 1.329 GB, free: 19.52 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.137e-05/1.014, allocations: 73.3 kB / 1.329 GB, free: 19.46 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/1.015, allocations: 70.19 kB / 1.329 GB, free: 19.42 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.291e-05/1.015, allocations: 329.9 kB / 1.33 GB, free: 19.1 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/1.015, allocations: 79.03 kB / 1.33 GB, free: 19.08 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/1.015, allocations: 152.8 kB / 1.33 GB, free: 18.97 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004569/1.016, allocations: 220.8 kB / 1.33 GB, free: 18.84 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.016, allocations: 4.812 kB / 1.33 GB, free: 18.83 MB / 1.061 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006059/1.016, allocations: 276.4 kB / 1.33 GB, free: 18.71 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/1.016, allocations: 7.016 kB / 1.33 GB, free: 18.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/1.016, allocations: 5.875 kB / 1.33 GB, free: 18.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/1.016, allocations: 3.375 kB / 1.33 GB, free: 18.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/1.017, allocations: 52.16 kB / 1.331 GB, free: 18.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/1.017, allocations: 3.656 kB / 1.331 GB, free: 18.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/1.017, allocations: 29.61 kB / 1.331 GB, free: 18.69 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/1.017, allocations: 12.98 kB / 1.331 GB, free: 18.68 MB / 1.061 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.0001637/1.017, allocations: 159.1 kB / 1.331 GB, free: 18.54 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-05/1.017, allocations: 22.12 kB / 1.331 GB, free: 18.53 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005974/1.018, allocations: 256.3 kB / 1.331 GB, free: 18.41 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/1.018, allocations: 6.875 kB / 1.331 GB, free: 18.4 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/1.018, allocations: 5.312 kB / 1.331 GB, free: 18.4 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/1.018, allocations: 1.219 kB / 1.331 GB, free: 18.4 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003787/1.018, allocations: 350.6 kB / 1.331 GB, free: 18.13 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.018, allocations: 0.6094 kB / 1.331 GB, free: 18.13 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/1.018, allocations: 41.41 kB / 1.331 GB, free: 18.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/1.018, allocations: 5.078 kB / 1.331 GB, free: 18.12 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/1.018, allocations: 9.906 kB / 1.331 GB, free: 18.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/1.018, allocations: 2.062 kB / 1.331 GB, free: 18.11 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.018, allocations: 1.594 kB / 1.331 GB, free: 18.11 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005181/1.019, allocations: 333.4 kB / 1.332 GB, free: 17.91 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.309e-05/1.019, allocations: 95.36 kB / 1.332 GB, free: 17.8 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/1.019, allocations: 10.86 kB / 1.332 GB, free: 17.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/1.019, allocations: 11.66 kB / 1.332 GB, free: 17.79 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.265e-05/1.019, allocations: 24.42 kB / 1.332 GB, free: 17.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/1.019, allocations: 17.64 kB / 1.332 GB, free: 17.77 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001039/1.019, allocations: 140.4 kB / 1.332 GB, free: 17.68 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.019, allocations: 0 / 1.332 GB, free: 17.68 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003238/1.019, allocations: 70.8 kB / 1.332 GB, free: 17.65 MB / 1.061 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.0007557/1.02, allocations: 0.8753 MB / 1.333 GB, free: 16.91 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005588/1.021, allocations: 211.8 kB / 1.333 GB, free: 16.85 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.021, allocations: 0 / 1.333 GB, free: 16.85 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002453/1.021, allocations: 111.6 kB / 1.333 GB, free: 16.81 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/1.021, allocations: 23.11 kB / 1.333 GB, free: 16.8 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/1.024, allocations: 2.394 MB / 1.336 GB, free: 15.05 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/1.025, allocations: 0.7682 MB / 1.336 GB, free: 14.35 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001518/1.025, allocations: 33.91 kB / 1.336 GB, free: 14.34 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/1.025, allocations: 97.95 kB / 1.336 GB, free: 14.27 MB / 1.061 GB Notification: Performance of SimCode: time 3.7e-07/1.025, allocations: 0.5 kB / 1.336 GB, free: 14.27 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02198/1.047, allocations: 4.146 MB / 1.341 GB, free: 13.75 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.704/9.751, allocations: 12.28 kB / 1.341 GB, free: 13.75 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.45001111604506] Failed to read output from testmodel.py, exit status != 0: 9.883903395966627 9.903717259 8.892249418 Calling exit ...