Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.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.001598/0.001598, allocations: 97.31 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.002098/0.002098, allocations: 219.6 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.754/2.754, allocations: 476.8 MB / 0.7715 GB, free: 3.902 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.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_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.002057/0.002057, allocations: 65.47 kB / 1.118 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3499, allocations: 170 MB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.003105/0.353, allocations: 1.072 MB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00178/0.3548, allocations: 1.038 MB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002216/0.355, allocations: 4 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.3552, allocations: 23.67 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.3554, allocations: 35.72 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004917/0.3559, allocations: 87.86 kB / 1.286 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004483/0.3563, allocations: 232.1 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003564/0.3567, allocations: 98.5 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003578/0.357, allocations: 103.6 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002321/0.3573, allocations: 103.5 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.702e-05/0.3573, allocations: 24 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.761e-05/0.3574, allocations: 31.98 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.441e-05/0.3575, allocations: 51.78 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.3576, allocations: 83.58 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005741/0.3582, allocations: 318.2 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.201e-05/0.3582, allocations: 4 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.505e-06/0.3582, allocations: 0 / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.117e-05/0.3582, allocations: 0 / 1.287 GB, free: 7.309 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001082/0.3593, allocations: 429.7 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.962e-05/0.3594, allocations: 8.031 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.663e-05/0.3594, allocations: 4.625 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001022/0.3595, allocations: 58.72 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002361/0.3597, allocations: 36.69 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000526/0.3602, allocations: 222.5 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.951e-05/0.3603, allocations: 16.81 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.3603, allocations: 16.38 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004754/0.3608, allocations: 203.6 kB / 1.288 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3608, allocations: 3.984 kB / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.3608, allocations: 8 kB / 1.288 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.3608, allocations: 4 kB / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004451/0.3613, allocations: 161.6 kB / 1.288 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000924/0.3622, allocations: 0.5181 MB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000402/0.3626, allocations: 146.6 kB / 1.289 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.3628, allocations: 56.83 kB / 1.289 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.517e-05/0.3628, allocations: 4 kB / 1.289 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.3629, allocations: 46.48 kB / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=17): time 1.593e-06/0.3629, allocations: 0 / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17): time 0.0007304/0.3636, allocations: 213.3 kB / 1.289 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.3637, allocations: 51.41 kB / 1.289 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.3639, allocations: 183.5 kB / 1.29 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.3639, allocations: 25.7 kB / 1.29 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.3641, allocations: 148.4 kB / 1.29 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.661e-05/0.3642, allocations: 51.7 kB / 1.29 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.3643, allocations: 49.7 kB / 1.29 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.3644, allocations: 330.8 kB / 1.29 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.3646, allocations: 51.97 kB / 1.29 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.3648, allocations: 104.4 kB / 1.29 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/0.3652, allocations: 147.4 kB / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.3652, allocations: 3.938 kB / 1.291 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004375/0.3656, allocations: 193.3 kB / 1.291 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3656, allocations: 14.34 kB / 1.291 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.3656, allocations: 0 / 1.291 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.3656, allocations: 4 kB / 1.291 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.3658, allocations: 35.91 kB / 1.291 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3658, allocations: 0 / 1.291 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.366, allocations: 23.88 kB / 1.291 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.366, allocations: 8 kB / 1.291 GB, free: 3.566 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.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 (22): * Single equations (assignments): 22 * 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.0002275/0.3662, allocations: 154.9 kB / 1.291 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.475e-05/0.3663, allocations: 15.91 kB / 1.291 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.174e-05/0.3663, allocations: 25.8 kB / 1.291 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3663, allocations: 4 kB / 1.291 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3663, allocations: 3.938 kB / 1.291 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3663, allocations: 3.984 kB / 1.291 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003116/0.3666, allocations: 228.6 kB / 1.291 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3666, allocations: 4 kB / 1.291 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.3668, allocations: 23.97 kB / 1.291 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3668, allocations: 0 / 1.291 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.3668, allocations: 8 kB / 1.291 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3668, allocations: 0 / 1.291 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3668, allocations: 0 / 1.291 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004475/0.3672, allocations: 267.2 kB / 1.291 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.147e-05/0.3673, allocations: 15.84 kB / 1.291 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.3673, allocations: 0 / 1.291 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.3674, allocations: 11.98 kB / 1.292 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.006e-05/0.3675, allocations: 19.97 kB / 1.292 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.3675, allocations: 12 kB / 1.292 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.804e-05/0.3676, allocations: 123.2 kB / 1.292 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3676, allocations: 0 / 1.292 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002795/0.3679, allocations: 35.89 kB / 1.292 GB, free: 2.559 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: 10 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0007871/0.3687, allocations: 0.8085 MB / 1.292 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004225/0.3691, allocations: 147.8 kB / 1.293 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3691, allocations: 4 kB / 1.293 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.3693, allocations: 71.89 kB / 1.293 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.3696, allocations: 16 kB / 1.293 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002699/0.3723, allocations: 1.976 MB / 1.295 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.3724, allocations: 133.1 kB / 1.295 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.888e-05/0.3725, allocations: 21.48 kB / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.3726, allocations: 67.41 kB / 1.295 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/0.3726, allocations: 0 / 1.295 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/0.3974, allocations: 3.501 MB / 1.298 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.18, allocations: 9.531 kB / 1.298 GB, free: 11.88 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.852586427005008] Failed to read output from testmodel.py, exit status != 0: 12.889489494962618 12.360873347 11.999231786 Calling exit ...