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.0013/0.0013, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.001328/0.001328, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.505/1.505, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.831/2.831, allocations: 476.7 MB / 0.7678 GB, free: 9.5 MB / 0.6075 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.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.002087/0.002087, allocations: 71.89 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.006, allocations: 169.9 MB / 1.279 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.ActiveAirFlow): time 0.003289/1.009, allocations: 1.149 MB / 1.28 GB, free: 11 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001816/1.011, allocations: 1.061 MB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/1.011, allocations: 3.062 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.092e-05/1.011, allocations: 23.86 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001525/1.011, allocations: 37.77 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002978/1.011, allocations: 86.81 kB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003254/1.012, allocations: 226.5 kB / 1.281 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000241/1.012, allocations: 97.58 kB / 1.282 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002432/1.012, allocations: 107.5 kB / 1.282 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/1.012, allocations: 95.98 kB / 1.282 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.699e-05/1.012, allocations: 24.38 kB / 1.282 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.13e-05/1.012, allocations: 35.52 kB / 1.282 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.929e-05/1.013, allocations: 51.09 kB / 1.282 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001279/1.013, allocations: 103 kB / 1.282 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005285/1.013, allocations: 316.5 kB / 1.282 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.013, allocations: 0.5 kB / 1.282 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.625e-06/1.013, allocations: 0.5 kB / 1.282 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.847e-06/1.013, allocations: 0.75 kB / 1.282 GB, free: 9.562 MB / 0.9981 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.0009467/1.014, allocations: 0.5021 MB / 1.283 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/1.014, allocations: 11.19 kB / 1.283 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.035e-05/1.014, allocations: 4.906 kB / 1.283 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.784e-05/1.014, allocations: 58.62 kB / 1.283 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/1.014, allocations: 36.8 kB / 1.283 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005324/1.015, allocations: 273.5 kB / 1.283 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/1.015, allocations: 18.28 kB / 1.283 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/1.015, allocations: 22 kB / 1.283 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000488/1.016, allocations: 202.2 kB / 1.283 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/1.016, allocations: 0 / 1.283 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/1.016, allocations: 10.44 kB / 1.283 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/1.016, allocations: 4.625 kB / 1.283 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004517/1.016, allocations: 160.2 kB / 1.284 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009322/1.017, allocations: 0.5885 MB / 1.284 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003902/1.017, allocations: 162.3 kB / 1.284 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/1.018, allocations: 63.67 kB / 1.284 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/1.018, allocations: 2.281 kB / 1.284 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/1.018, allocations: 35.59 kB / 1.284 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 1.212e-06/1.018, allocations: 1.062 kB / 1.284 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.0006501/1.018, allocations: 220.7 kB / 1.285 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/1.018, allocations: 58 kB / 1.285 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/1.018, allocations: 177.9 kB / 1.285 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/1.019, allocations: 31.08 kB / 1.285 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/1.019, allocations: 141.7 kB / 1.285 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.794e-05/1.019, allocations: 52.25 kB / 1.285 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.433e-05/1.019, allocations: 53.28 kB / 1.285 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000146/1.019, allocations: 322 kB / 1.285 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/1.019, allocations: 60.72 kB / 1.285 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/1.019, allocations: 98.05 kB / 1.286 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003468/1.02, allocations: 144.7 kB / 1.286 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/1.02, allocations: 6.047 kB / 1.286 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004508/1.02, allocations: 193 kB / 1.286 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/1.02, allocations: 5.906 kB / 1.286 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.02, allocations: 6 kB / 1.286 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/1.02, allocations: 3 kB / 1.286 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/1.02, allocations: 37.14 kB / 1.286 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/1.02, allocations: 3.25 kB / 1.286 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/1.02, allocations: 22.64 kB / 1.286 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/1.02, allocations: 11.45 kB / 1.286 GB, free: 6.922 MB / 0.9981 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.0001893/1.021, allocations: 143.2 kB / 1.286 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/1.021, allocations: 15.61 kB / 1.286 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.029e-05/1.021, allocations: 18.3 kB / 1.286 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/1.021, allocations: 3.734 kB / 1.286 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.021, allocations: 0 / 1.286 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.021, allocations: 0.6094 kB / 1.286 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/1.021, allocations: 284.7 kB / 1.286 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.021, allocations: 1.312 kB / 1.286 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/1.021, allocations: 25.17 kB / 1.286 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/1.021, allocations: 1.219 kB / 1.286 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/1.021, allocations: 6.219 kB / 1.286 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/1.021, allocations: 1.188 kB / 1.286 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.021, allocations: 0 / 1.286 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000459/1.022, allocations: 264.1 kB / 1.287 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.188e-05/1.022, allocations: 93.88 kB / 1.287 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/1.022, allocations: 2.234 kB / 1.287 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/1.022, allocations: 11.55 kB / 1.287 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.179e-05/1.022, allocations: 23.59 kB / 1.287 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/1.022, allocations: 8.156 kB / 1.287 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.605e-05/1.022, allocations: 121.9 kB / 1.287 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.022, allocations: 0 / 1.287 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002847/1.022, allocations: 46.89 kB / 1.287 GB, free: 6.098 MB / 0.9981 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.0007979/1.023, allocations: 0.812 MB / 1.288 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004309/1.024, allocations: 145.3 kB / 1.288 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.024, allocations: 0 / 1.288 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001921/1.024, allocations: 74.45 kB / 1.288 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/1.024, allocations: 16.3 kB / 1.288 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002681/1.027, allocations: 1.972 MB / 1.29 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/1.027, allocations: 0.7403 MB / 1.291 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.881e-05/1.027, allocations: 22.36 kB / 1.291 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/1.027, allocations: 69.64 kB / 1.291 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of SimCode: time 4.1e-07/1.027, allocations: 0 / 1.291 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/1.048, allocations: 3.329 MB / 1.294 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.738/9.787, allocations: 17.77 kB / 1.294 GB, free: 2.543 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.07258161599748] Failed to read output from testmodel.py, exit status != 0: 9.925814953981899 9.952377138 8.934019229 Calling exit ...