Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.001625/0.001625, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002109/0.002109, allocations: 220.9 kB / 23.03 MB, free: 4.945 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.276/3.276, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_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.002022/0.002022, allocations: 66.41 kB / 1.171 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3599, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002798/0.3627, allocations: 1.063 MB / 1.346 GB, free: 14.88 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.3642, allocations: 1.057 MB / 1.347 GB, free: 13.81 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.3643, allocations: 4 kB / 1.347 GB, free: 13.81 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.117e-05/0.3644, allocations: 23.67 kB / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.3645, allocations: 31.69 kB / 1.347 GB, free: 13.75 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.3648, allocations: 87.84 kB / 1.348 GB, free: 13.67 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.365, allocations: 228.2 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002351/0.3653, allocations: 96.58 kB / 1.348 GB, free: 13.35 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002353/0.3655, allocations: 103.6 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.3656, allocations: 99.48 kB / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.923e-05/0.3657, allocations: 28 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.868e-05/0.3657, allocations: 32 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.135e-05/0.3658, allocations: 51.84 kB / 1.348 GB, free: 13.04 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.019e-05/0.3659, allocations: 75.59 kB / 1.348 GB, free: 12.96 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003954/0.3663, allocations: 318.8 kB / 1.349 GB, free: 12.65 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3663, allocations: 0 / 1.349 GB, free: 12.65 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3663, allocations: 0 / 1.349 GB, free: 12.65 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.3663, allocations: 0 / 1.349 GB, free: 12.65 MB / 1.045 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.0007713/0.3671, allocations: 437.7 kB / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.3671, allocations: 12.03 kB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.65e-05/0.3671, allocations: 8.625 kB / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.635e-05/0.3672, allocations: 54.73 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/0.3674, allocations: 36.78 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00045/0.3678, allocations: 211.8 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.3678, allocations: 12.81 kB / 1.349 GB, free: 11.83 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.706e-05/0.3679, allocations: 24.38 kB / 1.349 GB, free: 11.81 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004496/0.3683, allocations: 207.5 kB / 1.349 GB, free: 11.6 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3683, allocations: 0 / 1.349 GB, free: 11.6 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.3683, allocations: 12 kB / 1.349 GB, free: 11.59 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.3684, allocations: 4 kB / 1.349 GB, free: 11.58 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003987/0.3688, allocations: 157.6 kB / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008202/0.3696, allocations: 0.5143 MB / 1.35 GB, free: 10.87 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000365/0.3699, allocations: 150.6 kB / 1.35 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.3701, allocations: 60.81 kB / 1.35 GB, free: 10.65 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.3701, allocations: 7.906 kB / 1.35 GB, free: 10.64 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.3702, allocations: 34.56 kB / 1.35 GB, free: 10.6 MB / 1.045 GB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.3702, allocations: 0 / 1.35 GB, free: 10.6 MB / 1.045 GB Notification: Performance of matching and sorting (n=17): time 0.000607/0.3708, allocations: 219.3 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.3708, allocations: 63.39 kB / 1.351 GB, free: 10.3 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.371, allocations: 174.2 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.371, allocations: 29.7 kB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.3711, allocations: 136.5 kB / 1.351 GB, free: 9.949 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.665e-05/0.3712, allocations: 55.64 kB / 1.351 GB, free: 9.895 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.291e-05/0.3712, allocations: 53.69 kB / 1.351 GB, free: 9.836 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3714, allocations: 322.8 kB / 1.351 GB, free: 9.512 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.3716, allocations: 59.95 kB / 1.351 GB, free: 9.453 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.3718, allocations: 106.7 kB / 1.352 GB, free: 9.332 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.3721, allocations: 138.4 kB / 1.352 GB, free: 9.18 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.3721, allocations: 3.938 kB / 1.352 GB, free: 9.176 MB / 1.045 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004335/0.3726, allocations: 194.6 kB / 1.352 GB, free: 8.98 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.3726, allocations: 7.984 kB / 1.352 GB, free: 8.973 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3726, allocations: 4 kB / 1.352 GB, free: 8.969 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3726, allocations: 3.938 kB / 1.352 GB, free: 8.965 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.3728, allocations: 31.98 kB / 1.352 GB, free: 8.934 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.3728, allocations: 4 kB / 1.352 GB, free: 8.93 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.3729, allocations: 28.03 kB / 1.352 GB, free: 8.902 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.3729, allocations: 4 kB / 1.352 GB, free: 8.898 MB / 1.045 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.0001897/0.3731, allocations: 153.6 kB / 1.352 GB, free: 8.738 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.3732, allocations: 11.91 kB / 1.352 GB, free: 8.727 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.072e-05/0.3732, allocations: 17.81 kB / 1.352 GB, free: 8.715 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3732, allocations: 4 kB / 1.352 GB, free: 8.711 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3732, allocations: 0 / 1.352 GB, free: 8.711 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.3732, allocations: 3.984 kB / 1.352 GB, free: 8.707 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.3735, allocations: 240.6 kB / 1.352 GB, free: 8.43 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3735, allocations: 0 / 1.352 GB, free: 8.43 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.3736, allocations: 23.92 kB / 1.352 GB, free: 8.406 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.3736, allocations: 0 / 1.352 GB, free: 8.406 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.3737, allocations: 0 / 1.352 GB, free: 8.406 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/0.3737, allocations: 7.984 kB / 1.352 GB, free: 8.398 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3737, allocations: 0 / 1.352 GB, free: 8.398 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004319/0.3741, allocations: 257 kB / 1.353 GB, free: 8.133 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/0.3741, allocations: 23.84 kB / 1.353 GB, free: 8.109 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.3742, allocations: 0 / 1.353 GB, free: 8.109 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.3743, allocations: 15.98 kB / 1.353 GB, free: 8.094 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.096e-05/0.3744, allocations: 23.88 kB / 1.353 GB, free: 8.07 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.3744, allocations: 3.984 kB / 1.353 GB, free: 8.066 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001052/0.3745, allocations: 128.2 kB / 1.353 GB, free: 7.941 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3745, allocations: 0 / 1.353 GB, free: 7.941 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002854/0.3748, allocations: 51.78 kB / 1.353 GB, free: 7.891 MB / 1.045 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.0007574/0.3755, allocations: 0.7982 MB / 1.354 GB, free: 7.062 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004356/0.376, allocations: 149.6 kB / 1.354 GB, free: 6.918 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.376, allocations: 0 / 1.354 GB, free: 6.918 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.3761, allocations: 72.2 kB / 1.354 GB, free: 6.848 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.3764, allocations: 31.92 kB / 1.354 GB, free: 6.816 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002633/0.3791, allocations: 1.981 MB / 1.356 GB, free: 4.727 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.3792, allocations: 117.2 kB / 1.356 GB, free: 4.594 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001024/0.3793, allocations: 29.45 kB / 1.356 GB, free: 4.562 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.3794, allocations: 63.41 kB / 1.356 GB, free: 4.5 MB / 1.045 GB Notification: Performance of SimCode: time 8.22e-07/0.3794, allocations: 0 / 1.356 GB, free: 4.5 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03303/0.4124, allocations: 3.497 MB / 1.359 GB, free: 1.223 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.07, allocations: 4.062 kB / 1.359 GB, free: 1.219 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.734735828009434] Failed to read output from testmodel.py, exit status != 0: 12.231384499929845 12.247735861 11.878188806 Calling exit ...