Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.001793/0.001793, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002374/0.002374, allocations: 216.5 kB / 23.04 MB, free: 5.078 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.879/2.879, allocations: 476.7 MB / 0.7714 GB, free: 4.336 MB / 0.6231 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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_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.002096/0.002096, allocations: 65.81 kB / 1.118 GB, free: 40.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3524, allocations: 169.9 MB / 1.284 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.002915/0.3554, allocations: 1.322 MB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.357, allocations: 1.135 MB / 1.287 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.3572, allocations: 4 kB / 1.287 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000186/0.3573, allocations: 35.53 kB / 1.287 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.411e-05/0.3574, allocations: 35.62 kB / 1.287 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003016/0.3577, allocations: 115.8 kB / 1.287 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003413/0.3581, allocations: 304.3 kB / 1.287 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002793/0.3584, allocations: 129.4 kB / 1.287 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002454/0.3586, allocations: 131.5 kB / 1.287 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.3588, allocations: 119.4 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.79e-05/0.3588, allocations: 36 kB / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.335e-05/0.3589, allocations: 36 kB / 1.287 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.477e-05/0.359, allocations: 75.69 kB / 1.288 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.3591, allocations: 131.3 kB / 1.288 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005011/0.3596, allocations: 417.8 kB / 1.288 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3596, allocations: 0 / 1.288 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3596, allocations: 0 / 1.288 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.3596, allocations: 0 / 1.288 GB, free: 7.754 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009349/0.3605, allocations: 491.4 kB / 1.289 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3606, allocations: 8.031 kB / 1.289 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.093e-05/0.3606, allocations: 8.844 kB / 1.289 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.173e-05/0.3607, allocations: 66.66 kB / 1.289 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.3608, allocations: 44.69 kB / 1.289 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000617/0.3614, allocations: 263.4 kB / 1.289 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.3615, allocations: 21.03 kB / 1.289 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.3615, allocations: 24.38 kB / 1.289 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004929/0.362, allocations: 246.3 kB / 1.289 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.362, allocations: 0 / 1.289 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.362, allocations: 12 kB / 1.289 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.3621, allocations: 4 kB / 1.289 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004606/0.3625, allocations: 186.5 kB / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.3635, allocations: 0.6443 MB / 1.29 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004623/0.364, allocations: 170.8 kB / 1.29 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/0.3642, allocations: 72.81 kB / 1.29 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.3642, allocations: 8.016 kB / 1.29 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.3643, allocations: 42.5 kB / 1.29 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.523e-06/0.3643, allocations: 0 / 1.29 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.0006955/0.365, allocations: 227.5 kB / 1.291 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.365, allocations: 55.39 kB / 1.291 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.3652, allocations: 215.6 kB / 1.291 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.3653, allocations: 29.7 kB / 1.291 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.3654, allocations: 164.7 kB / 1.291 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.963e-05/0.3654, allocations: 55.52 kB / 1.291 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.396e-05/0.3655, allocations: 61.92 kB / 1.291 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3657, allocations: 338.8 kB / 1.291 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.3659, allocations: 68.42 kB / 1.291 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.3661, allocations: 123.7 kB / 1.292 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003753/0.3665, allocations: 170.7 kB / 1.292 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3665, allocations: 3.938 kB / 1.292 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005052/0.367, allocations: 231.7 kB / 1.292 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.367, allocations: 4 kB / 1.292 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.367, allocations: 8.219 kB / 1.292 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.367, allocations: 4 kB / 1.292 GB, free: 3.496 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.3672, allocations: 43.91 kB / 1.292 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.3672, allocations: 4 kB / 1.292 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.3674, allocations: 27.83 kB / 1.292 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.3674, allocations: 12 kB / 1.292 GB, free: 3.41 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: 17 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.gre.greHys.y,$PRE.actAirSet.gre.greHys.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.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 (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 prepare postOptimizeDAE: time 0.000186/0.3676, allocations: 153.7 kB / 1.292 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.811e-05/0.3676, allocations: 15.91 kB / 1.292 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.434e-05/0.3677, allocations: 25.8 kB / 1.292 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3677, allocations: 4 kB / 1.292 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3677, allocations: 0 / 1.292 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3677, allocations: 0 / 1.292 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003504/0.3681, allocations: 280.4 kB / 1.293 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3681, allocations: 3.938 kB / 1.293 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.3682, allocations: 27.91 kB / 1.293 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3682, allocations: 0 / 1.293 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.3683, allocations: 12 kB / 1.293 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3683, allocations: 0 / 1.293 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3683, allocations: 0 / 1.293 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004854/0.3687, allocations: 279.2 kB / 1.293 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.012e-05/0.3688, allocations: 15.84 kB / 1.293 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.3688, allocations: 8 kB / 1.293 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.3689, allocations: 11.98 kB / 1.293 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.056e-05/0.369, allocations: 35.89 kB / 1.293 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.3691, allocations: 4 kB / 1.293 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001247/0.3692, allocations: 137.5 kB / 1.293 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3692, allocations: 0 / 1.293 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003035/0.3695, allocations: 47.84 kB / 1.293 GB, free: 2.301 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.gre.greHys.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0008116/0.3703, allocations: 0.8278 MB / 1.294 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004686/0.3708, allocations: 166.2 kB / 1.294 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3708, allocations: 4 kB / 1.294 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002024/0.371, allocations: 75.89 kB / 1.294 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.3713, allocations: 29.69 kB / 1.294 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003169/0.3745, allocations: 2.204 MB / 1.296 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.3749, allocations: 0.7523 MB / 1.297 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001352/0.375, allocations: 33.92 kB / 1.297 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.3752, allocations: 83.41 kB / 1.297 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/0.3752, allocations: 0 / 1.297 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02566/0.4009, allocations: 4.249 MB / 1.301 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.25, allocations: 19.17 kB / 1.301 GB, free: 9.926 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.178898221987765] Failed to read output from testmodel.py, exit status != 0: 12.989371955045499 12.438455447 12.073939055 Calling exit ...