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.001324/0.001324, allocations: 124.9 kB / 17.17 MB, free: 5.918 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.001447/0.001447, allocations: 210.3 kB / 20.13 MB, free: 2.98 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.575/1.575, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.915/2.915, allocations: 476.7 MB / 0.7678 GB, free: 9.406 MB / 0.6075 GB " [Timeout remaining time 176] 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.002092/0.002092, allocations: 71.91 kB / 1.113 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9365/0.9386, allocations: 169.9 MB / 1.279 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.003274/0.9419, allocations: 1.444 MB / 1.28 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001889/0.9438, allocations: 1.142 MB / 1.281 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002183/0.944, allocations: 4.5 kB / 1.282 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.9441, allocations: 39.48 kB / 1.282 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002175/0.9443, allocations: 44.5 kB / 1.282 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000497/0.9448, allocations: 127.1 kB / 1.282 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004383/0.9453, allocations: 344.4 kB / 1.282 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003992/0.9457, allocations: 154.9 kB / 1.282 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003568/0.946, allocations: 156.2 kB / 1.282 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.9463, allocations: 141.8 kB / 1.282 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.9464, allocations: 38.97 kB / 1.283 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.786e-05/0.9465, allocations: 46.14 kB / 1.283 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.923e-05/0.9466, allocations: 86.56 kB / 1.283 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.9467, allocations: 164.5 kB / 1.283 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007088/0.9474, allocations: 488.1 kB / 1.283 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.9474, allocations: 0.7031 kB / 1.283 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.495e-06/0.9474, allocations: 1.312 kB / 1.283 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.9474, allocations: 0 / 1.283 GB, free: 8.934 MB / 0.9981 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.001107/0.9486, allocations: 0.5893 MB / 1.284 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.9486, allocations: 13.56 kB / 1.284 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.085e-05/0.9486, allocations: 8.812 kB / 1.284 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.04e-05/0.9487, allocations: 69.42 kB / 1.284 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/0.9489, allocations: 47.86 kB / 1.284 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006231/0.9495, allocations: 336.1 kB / 1.284 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.733e-05/0.9496, allocations: 23.91 kB / 1.284 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.063e-05/0.9496, allocations: 33.25 kB / 1.284 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006293/0.9503, allocations: 300.2 kB / 1.285 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.9503, allocations: 1.969 kB / 1.285 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.9503, allocations: 10.84 kB / 1.285 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.9503, allocations: 7.188 kB / 1.285 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006888/0.951, allocations: 239.8 kB / 1.285 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.9524, allocations: 0.8227 MB / 1.286 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005276/0.9529, allocations: 227 kB / 1.286 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002578/0.9532, allocations: 101.3 kB / 1.286 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.9532, allocations: 8.875 kB / 1.286 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.9532, allocations: 40.47 kB / 1.286 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=27): time 1.814e-06/0.9532, allocations: 0 / 1.286 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of matching and sorting (n=27): time 0.000953/0.9542, allocations: 314.2 kB / 1.286 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.9542, allocations: 55.52 kB / 1.286 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.9545, allocations: 215.4 kB / 1.287 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.504e-05/0.9546, allocations: 30.64 kB / 1.287 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.9547, allocations: 181.5 kB / 1.287 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.734e-05/0.9548, allocations: 80.28 kB / 1.287 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.9549, allocations: 71.44 kB / 1.287 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.9551, allocations: 331.6 kB / 1.287 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.9553, allocations: 77.84 kB / 1.287 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.9556, allocations: 140.6 kB / 1.287 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000479/0.9561, allocations: 224.2 kB / 1.288 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.9561, allocations: 0 / 1.288 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006137/0.9567, allocations: 278.7 kB / 1.288 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.9567, allocations: 8.375 kB / 1.288 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.9567, allocations: 6.25 kB / 1.288 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.9567, allocations: 3.906 kB / 1.288 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/0.9571, allocations: 56.64 kB / 1.288 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.9571, allocations: 11.33 kB / 1.288 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.9573, allocations: 28.09 kB / 1.288 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.9573, allocations: 17.97 kB / 1.288 GB, free: 5.715 MB / 0.9981 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.0002277/0.9575, allocations: 148.2 kB / 1.288 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.515e-05/0.9576, allocations: 21.89 kB / 1.288 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006406/0.9582, allocations: 260.4 kB / 1.288 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.9582, allocations: 2.781 kB / 1.288 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.9582, allocations: 1.375 kB / 1.288 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.9582, allocations: 7.172 kB / 1.288 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004658/0.9587, allocations: 349.8 kB / 1.289 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.9587, allocations: 0 / 1.289 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.9589, allocations: 40.19 kB / 1.289 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.9589, allocations: 2.047 kB / 1.289 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.9589, allocations: 18.06 kB / 1.289 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.9589, allocations: 1.828 kB / 1.289 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.9589, allocations: 0 / 1.289 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005715/0.9595, allocations: 327.5 kB / 1.289 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.857e-05/0.9596, allocations: 98.28 kB / 1.289 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.9596, allocations: 11.16 kB / 1.289 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.9598, allocations: 16.16 kB / 1.289 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.96, allocations: 24.44 kB / 1.289 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/0.96, allocations: 9.094 kB / 1.289 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001528/0.9601, allocations: 140.7 kB / 1.289 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.9601, allocations: 3.938 kB / 1.289 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003229/0.9605, allocations: 62.34 kB / 1.29 GB, free: 4.699 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.0009232/0.9614, allocations: 0.882 MB / 1.29 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000684/0.9621, allocations: 211.5 kB / 1.291 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.9621, allocations: 0 / 1.291 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002458/0.9623, allocations: 110.9 kB / 1.291 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.9627, allocations: 22.31 kB / 1.291 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003691/0.9664, allocations: 2.399 MB / 1.293 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/0.9668, allocations: 0.7728 MB / 1.294 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001383/0.967, allocations: 33.36 kB / 1.294 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.9672, allocations: 97.77 kB / 1.294 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/0.9672, allocations: 1.438 kB / 1.294 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/0.9901, allocations: 4.141 MB / 1.298 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.822/9.812, allocations: 13.23 kB / 1.298 GB, free: 0.7852 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.247787453001365] Failed to read output from testmodel.py, exit status != 0: 9.942564174998552 9.968821642 9.015910037 Calling exit ...