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.00127/0.00127, allocations: 101.5 kB / 19.73 MB, free: 2.23 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: 208.7 kB / 23.04 MB, free: 5.074 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.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.277/3.277, allocations: 0.5003 GB / 0.8061 GB, free: 26.8 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.002056/0.002056, allocations: 66.2 kB / 1.171 GB, free: 19.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3717, allocations: 179 MB / 1.345 GB, free: 0.5 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.00269/0.3744, allocations: 1.135 MB / 1.346 GB, free: 15.36 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001585/0.376, allocations: 1.069 MB / 1.348 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.3761, allocations: 4 kB / 1.348 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.81e-05/0.3762, allocations: 19.73 kB / 1.348 GB, free: 14.26 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.3763, allocations: 35.67 kB / 1.348 GB, free: 14.22 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.3766, allocations: 87.84 kB / 1.348 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002859/0.3769, allocations: 236 kB / 1.348 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002232/0.3771, allocations: 96.59 kB / 1.348 GB, free: 13.81 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.3774, allocations: 99.64 kB / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.3775, allocations: 99.53 kB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.9e-05/0.3775, allocations: 24 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.28e-05/0.3776, allocations: 35.92 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.866e-05/0.3776, allocations: 51.84 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.3778, allocations: 103.5 kB / 1.348 GB, free: 13.4 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004412/0.3782, allocations: 310.8 kB / 1.349 GB, free: 13.1 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3782, allocations: 0 / 1.349 GB, free: 13.1 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3782, allocations: 0 / 1.349 GB, free: 13.1 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.3782, allocations: 4 kB / 1.349 GB, free: 13.09 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.0008019/0.379, allocations: 433.7 kB / 1.349 GB, free: 12.64 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.379, allocations: 12.03 kB / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.346e-05/0.3791, allocations: 8.625 kB / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001076/0.3792, allocations: 62.72 kB / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.3793, allocations: 28.8 kB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005244/0.3799, allocations: 217.6 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.94e-05/0.3799, allocations: 20.81 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/0.3799, allocations: 24.31 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004424/0.3804, allocations: 199.6 kB / 1.35 GB, free: 12.04 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3804, allocations: 0 / 1.35 GB, free: 12.04 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.3804, allocations: 11.98 kB / 1.35 GB, free: 12.03 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.3804, allocations: 4 kB / 1.35 GB, free: 12.02 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004328/0.3808, allocations: 165.6 kB / 1.35 GB, free: 11.86 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009127/0.3818, allocations: 0.5415 MB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004507/0.3822, allocations: 154.6 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.3824, allocations: 56.83 kB / 1.351 GB, free: 11.05 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.3824, allocations: 7.906 kB / 1.351 GB, free: 11.05 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.3824, allocations: 34.56 kB / 1.351 GB, free: 11 MB / 1.045 GB Notification: Performance of pre-optimization done (n=17): time 1.283e-06/0.3824, allocations: 0 / 1.351 GB, free: 11 MB / 1.045 GB Notification: Performance of matching and sorting (n=17): time 0.0007035/0.3831, allocations: 227.6 kB / 1.351 GB, free: 10.78 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.3832, allocations: 51.41 kB / 1.351 GB, free: 10.71 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.3834, allocations: 178.2 kB / 1.351 GB, free: 10.53 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.3834, allocations: 29.7 kB / 1.351 GB, free: 10.49 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.3835, allocations: 144.5 kB / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/0.3836, allocations: 39.66 kB / 1.351 GB, free: 10.31 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.325e-05/0.3836, allocations: 53.69 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3838, allocations: 330.8 kB / 1.352 GB, free: 9.918 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.384, allocations: 59.89 kB / 1.352 GB, free: 9.859 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.3842, allocations: 103.8 kB / 1.352 GB, free: 9.742 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/0.3846, allocations: 141 kB / 1.352 GB, free: 9.586 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3846, allocations: 3.938 kB / 1.352 GB, free: 9.582 MB / 1.045 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004988/0.3851, allocations: 202.9 kB / 1.352 GB, free: 9.379 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.3851, allocations: 4 kB / 1.352 GB, free: 9.375 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.3851, allocations: 7.938 kB / 1.352 GB, free: 9.367 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.3851, allocations: 0 / 1.352 GB, free: 9.367 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.3853, allocations: 31.97 kB / 1.352 GB, free: 9.336 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.3853, allocations: 4 kB / 1.352 GB, free: 9.332 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.3855, allocations: 31.97 kB / 1.352 GB, free: 9.301 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.3855, allocations: 4 kB / 1.352 GB, free: 9.297 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.0001964/0.3857, allocations: 141.7 kB / 1.352 GB, free: 9.148 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.635e-05/0.3857, allocations: 15.91 kB / 1.352 GB, free: 9.133 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.313e-05/0.3858, allocations: 17.81 kB / 1.352 GB, free: 9.121 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3858, allocations: 3.984 kB / 1.352 GB, free: 9.117 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.3858, allocations: 4 kB / 1.352 GB, free: 9.113 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3858, allocations: 4 kB / 1.352 GB, free: 9.109 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003806/0.3862, allocations: 252.5 kB / 1.353 GB, free: 8.82 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3862, allocations: 0 / 1.353 GB, free: 8.82 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.3863, allocations: 31.91 kB / 1.353 GB, free: 8.789 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3863, allocations: 0 / 1.353 GB, free: 8.789 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.3863, allocations: 7.984 kB / 1.353 GB, free: 8.781 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.3863, allocations: 4 kB / 1.353 GB, free: 8.777 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3863, allocations: 0 / 1.353 GB, free: 8.777 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000469/0.3868, allocations: 261 kB / 1.353 GB, free: 8.508 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.52e-05/0.3868, allocations: 15.84 kB / 1.353 GB, free: 8.492 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.3868, allocations: 0 / 1.353 GB, free: 8.492 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.387, allocations: 11.98 kB / 1.353 GB, free: 8.48 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.638e-05/0.387, allocations: 27.81 kB / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.3871, allocations: 11.98 kB / 1.353 GB, free: 8.441 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001099/0.3872, allocations: 124.2 kB / 1.353 GB, free: 8.32 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3872, allocations: 4 kB / 1.353 GB, free: 8.316 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002872/0.3875, allocations: 35.89 kB / 1.353 GB, free: 8.281 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.0008767/0.3883, allocations: 0.8021 MB / 1.354 GB, free: 7.449 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004612/0.3888, allocations: 141.2 kB / 1.354 GB, free: 7.312 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.3888, allocations: 0 / 1.354 GB, free: 7.312 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.389, allocations: 71.89 kB / 1.354 GB, free: 7.242 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.3893, allocations: 34.52 kB / 1.354 GB, free: 7.211 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002939/0.3923, allocations: 1.98 MB / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000553/0.3928, allocations: 0.7397 MB / 1.357 GB, free: 4.355 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001046/0.3929, allocations: 17.48 kB / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.393, allocations: 71.34 kB / 1.357 GB, free: 4.266 MB / 1.045 GB Notification: Performance of SimCode: time 9.12e-07/0.393, allocations: 0 / 1.357 GB, free: 4.266 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02893/0.422, allocations: 3.462 MB / 1.36 GB, free: 1.008 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.09, allocations: 13.61 kB / 1.36 GB, free: 0.9961 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.030835223034956] Failed to read output from testmodel.py, exit status != 0: 12.250801894988399 12.26761783 11.886026912 Calling exit ...