Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001843/0.001843, allocations: 97.92 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.002332/0.002332, allocations: 216.4 kB / 23.03 MB, free: 4.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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.588/3.588, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 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.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_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_latest_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.001975/0.001975, allocations: 69.88 kB / 1.171 GB, free: 19.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.373, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.002811/0.3758, allocations: 1.066 MB / 1.346 GB, free: 14.89 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.3773, allocations: 1.053 MB / 1.347 GB, free: 13.82 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.3774, allocations: 0 / 1.347 GB, free: 13.82 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.528e-05/0.3775, allocations: 23.67 kB / 1.347 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.3776, allocations: 31.67 kB / 1.347 GB, free: 13.77 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.3779, allocations: 95.84 kB / 1.348 GB, free: 13.67 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.3782, allocations: 224.2 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002606/0.3784, allocations: 96.59 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002409/0.3787, allocations: 103.6 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.3788, allocations: 103.5 kB / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.171e-05/0.3789, allocations: 28 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.662e-05/0.3789, allocations: 28 kB / 1.348 GB, free: 13.1 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.074e-05/0.379, allocations: 47.84 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.169e-05/0.3791, allocations: 83.58 kB / 1.348 GB, free: 12.97 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003976/0.3795, allocations: 322.8 kB / 1.349 GB, free: 12.65 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3795, allocations: 0 / 1.349 GB, free: 12.65 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3795, allocations: 0 / 1.349 GB, free: 12.65 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.3795, allocations: 3.984 kB / 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.0008043/0.3803, allocations: 435.6 kB / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.3803, allocations: 12.03 kB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.097e-05/0.3804, allocations: 8.625 kB / 1.349 GB, free: 12.17 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.724e-05/0.3804, allocations: 50.73 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001745/0.3806, allocations: 32.78 kB / 1.349 GB, free: 12.08 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004891/0.3811, allocations: 211.8 kB / 1.349 GB, free: 11.85 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.3811, allocations: 16.81 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.92e-05/0.3811, allocations: 20.38 kB / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004754/0.3816, allocations: 211.5 kB / 1.349 GB, free: 11.6 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3816, allocations: 0 / 1.349 GB, free: 11.6 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.3817, allocations: 8 kB / 1.349 GB, free: 11.59 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.3817, allocations: 7.984 kB / 1.349 GB, free: 11.59 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004278/0.3821, allocations: 157.6 kB / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000896/0.383, allocations: 0.5182 MB / 1.35 GB, free: 10.87 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000389/0.3834, allocations: 150.6 kB / 1.35 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.3836, allocations: 62.69 kB / 1.35 GB, free: 10.65 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.3836, allocations: 7.906 kB / 1.35 GB, free: 10.64 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.3836, allocations: 30.56 kB / 1.35 GB, free: 10.6 MB / 1.045 GB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.3836, allocations: 0 / 1.35 GB, free: 10.6 MB / 1.045 GB Notification: Performance of matching and sorting (n=17): time 0.0006743/0.3843, allocations: 213.4 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.3844, allocations: 59.39 kB / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.3846, allocations: 182.2 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.3846, allocations: 25.7 kB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.3847, allocations: 140.5 kB / 1.351 GB, free: 9.953 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.068e-05/0.3848, allocations: 47.64 kB / 1.351 GB, free: 9.906 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.519e-05/0.3849, allocations: 53.69 kB / 1.351 GB, free: 9.848 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002103/0.3851, allocations: 326.8 kB / 1.351 GB, free: 9.52 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.3853, allocations: 59.95 kB / 1.351 GB, free: 9.461 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.3855, allocations: 102.3 kB / 1.352 GB, free: 9.344 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/0.3858, allocations: 142.7 kB / 1.352 GB, free: 9.188 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.3858, allocations: 3.938 kB / 1.352 GB, free: 9.184 MB / 1.045 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004646/0.3863, allocations: 202.7 kB / 1.352 GB, free: 8.98 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.3863, allocations: 7.938 kB / 1.352 GB, free: 8.973 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.3863, allocations: 0 / 1.352 GB, free: 8.973 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.3864, allocations: 4 kB / 1.352 GB, free: 8.969 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.3866, allocations: 27.98 kB / 1.352 GB, free: 8.941 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.3866, allocations: 3.984 kB / 1.352 GB, free: 8.938 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.3867, allocations: 28.05 kB / 1.352 GB, free: 8.91 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.3867, allocations: 7.984 kB / 1.352 GB, free: 8.902 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.0002743/0.387, allocations: 149.6 kB / 1.352 GB, free: 8.746 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.387, allocations: 15.91 kB / 1.352 GB, free: 8.73 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.953e-05/0.3871, allocations: 21.81 kB / 1.352 GB, free: 8.715 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3871, allocations: 0 / 1.352 GB, free: 8.715 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3871, allocations: 0 / 1.352 GB, free: 8.715 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.3871, allocations: 7.984 kB / 1.352 GB, free: 8.707 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000323/0.3874, allocations: 232.6 kB / 1.352 GB, free: 8.438 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3874, allocations: 4 kB / 1.352 GB, free: 8.434 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.3875, allocations: 23.92 kB / 1.352 GB, free: 8.41 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.3875, allocations: 3.984 kB / 1.352 GB, free: 8.406 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.3876, allocations: 7.984 kB / 1.352 GB, free: 8.398 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3876, allocations: 0 / 1.352 GB, free: 8.398 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3876, allocations: 4 kB / 1.352 GB, free: 8.395 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004678/0.388, allocations: 256.9 kB / 1.353 GB, free: 8.129 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.606e-05/0.3881, allocations: 19.84 kB / 1.353 GB, free: 8.109 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.3881, allocations: 4 kB / 1.353 GB, free: 8.105 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.3882, allocations: 11.98 kB / 1.353 GB, free: 8.094 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.553e-05/0.3883, allocations: 27.88 kB / 1.353 GB, free: 8.066 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.3883, allocations: 11.92 kB / 1.353 GB, free: 8.055 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001006/0.3884, allocations: 124.2 kB / 1.353 GB, free: 7.934 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3884, allocations: 0 / 1.353 GB, free: 7.934 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002892/0.3887, allocations: 47.78 kB / 1.353 GB, free: 7.887 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.0008934/0.3896, allocations: 0.7999 MB / 1.354 GB, free: 7.059 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004293/0.39, allocations: 139.7 kB / 1.354 GB, free: 6.922 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.39, allocations: 0 / 1.354 GB, free: 6.922 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.3902, allocations: 80.2 kB / 1.354 GB, free: 6.844 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.3905, allocations: 30.09 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.002843/0.3934, allocations: 1.976 MB / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.3935, allocations: 121.2 kB / 1.356 GB, free: 4.594 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.805e-05/0.3936, allocations: 21.48 kB / 1.356 GB, free: 4.57 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.3938, allocations: 71.41 kB / 1.356 GB, free: 4.5 MB / 1.045 GB Notification: Performance of SimCode: time 3.41e-07/0.3938, allocations: 0 / 1.356 GB, free: 4.5 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.4186, allocations: 3.49 MB / 1.359 GB, free: 1.219 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.24, allocations: 4.062 kB / 1.359 GB, free: 1.215 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.385208811960183] Failed to read output from testmodel.py, exit status != 0: 12.403384307981469 12.420804501 12.038063086 Calling exit ...