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.001373/0.001373, allocations: 98.08 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.001806/0.001806, allocations: 217.3 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.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 8 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.43/3.43, allocations: 0.5003 GB / 0.8062 GB, free: 26.72 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.002229/0.002229, allocations: 68.06 kB / 1.171 GB, free: 19.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4111, allocations: 179 MB / 1.345 GB, free: 464 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002842/0.4139, allocations: 1.131 MB / 1.346 GB, free: 15.32 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001569/0.4155, allocations: 1.065 MB / 1.348 GB, free: 14.24 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.4156, allocations: 4 kB / 1.348 GB, free: 14.24 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.472e-05/0.4157, allocations: 19.73 kB / 1.348 GB, free: 14.22 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.4158, allocations: 39.66 kB / 1.348 GB, free: 14.18 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002958/0.4161, allocations: 87.8 kB / 1.348 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.4164, allocations: 228.2 kB / 1.348 GB, free: 13.87 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002358/0.4166, allocations: 100.6 kB / 1.348 GB, free: 13.77 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002349/0.4168, allocations: 103.6 kB / 1.348 GB, free: 13.67 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.417, allocations: 99.48 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.884e-05/0.417, allocations: 24 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.476e-05/0.4171, allocations: 24 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.343e-05/0.4171, allocations: 59.83 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.4173, allocations: 107.4 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004037/0.4177, allocations: 310.9 kB / 1.349 GB, free: 13.05 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.4177, allocations: 4 kB / 1.349 GB, free: 13.05 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4177, allocations: 0 / 1.349 GB, free: 13.05 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.4177, allocations: 4 kB / 1.349 GB, free: 13.05 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.0008246/0.4185, allocations: 429.7 kB / 1.349 GB, free: 12.59 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.4185, allocations: 8.031 kB / 1.349 GB, free: 12.59 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.629e-05/0.4186, allocations: 8.562 kB / 1.349 GB, free: 12.58 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.379e-05/0.4186, allocations: 58.73 kB / 1.349 GB, free: 12.51 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.4188, allocations: 32.78 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004904/0.4193, allocations: 222.5 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/0.4193, allocations: 12.81 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.4194, allocations: 20.38 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000428/0.4198, allocations: 199.6 kB / 1.35 GB, free: 12 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.4198, allocations: 0 / 1.35 GB, free: 12 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.318e-05/0.4198, allocations: 11.98 kB / 1.35 GB, free: 11.99 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.4198, allocations: 8 kB / 1.35 GB, free: 11.98 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004147/0.4203, allocations: 161.6 kB / 1.35 GB, free: 11.82 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009083/0.4212, allocations: 0.5454 MB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.4215, allocations: 154.6 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.4217, allocations: 60.83 kB / 1.351 GB, free: 11.01 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.4217, allocations: 11.84 kB / 1.351 GB, free: 11 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.4218, allocations: 30.56 kB / 1.351 GB, free: 10.96 MB / 1.045 GB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.4218, allocations: 4 kB / 1.351 GB, free: 10.96 MB / 1.045 GB Notification: Performance of matching and sorting (n=17): time 0.0006696/0.4224, allocations: 218.8 kB / 1.351 GB, free: 10.74 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.4225, allocations: 55.41 kB / 1.351 GB, free: 10.67 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.4227, allocations: 178.2 kB / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.4227, allocations: 25.7 kB / 1.351 GB, free: 10.45 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.4228, allocations: 140.5 kB / 1.351 GB, free: 10.31 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.116e-05/0.4229, allocations: 47.72 kB / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-05/0.423, allocations: 53.69 kB / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.4232, allocations: 326.8 kB / 1.352 GB, free: 9.879 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.4233, allocations: 55.95 kB / 1.352 GB, free: 9.824 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.4235, allocations: 101.6 kB / 1.352 GB, free: 9.707 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003476/0.4239, allocations: 142.4 kB / 1.352 GB, free: 9.551 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.4239, allocations: 11.88 kB / 1.352 GB, free: 9.539 MB / 1.045 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004522/0.4243, allocations: 199.5 kB / 1.352 GB, free: 9.34 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.4244, allocations: 8 kB / 1.352 GB, free: 9.332 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.4244, allocations: 4 kB / 1.352 GB, free: 9.328 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.4244, allocations: 4 kB / 1.352 GB, free: 9.324 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.4246, allocations: 27.97 kB / 1.352 GB, free: 9.297 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.4246, allocations: 7.938 kB / 1.352 GB, free: 9.289 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.4247, allocations: 24.05 kB / 1.352 GB, free: 9.266 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.4247, allocations: 7.984 kB / 1.352 GB, free: 9.258 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.0002232/0.4249, allocations: 145.7 kB / 1.352 GB, free: 9.105 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.425, allocations: 11.91 kB / 1.352 GB, free: 9.094 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.43e-05/0.425, allocations: 25.75 kB / 1.352 GB, free: 9.074 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.425, allocations: 4 kB / 1.352 GB, free: 9.07 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.425, allocations: 0 / 1.352 GB, free: 9.07 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.425, allocations: 7.984 kB / 1.352 GB, free: 9.062 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003311/0.4254, allocations: 248.5 kB / 1.353 GB, free: 8.777 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4254, allocations: 0 / 1.353 GB, free: 8.777 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.4255, allocations: 27.91 kB / 1.353 GB, free: 8.75 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.4255, allocations: 0 / 1.353 GB, free: 8.75 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.4255, allocations: 8 kB / 1.353 GB, free: 8.742 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4255, allocations: 0 / 1.353 GB, free: 8.742 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.4255, allocations: 3.984 kB / 1.353 GB, free: 8.738 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004726/0.426, allocations: 263.3 kB / 1.353 GB, free: 8.465 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.254e-05/0.426, allocations: 15.84 kB / 1.353 GB, free: 8.449 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.4261, allocations: 4 kB / 1.353 GB, free: 8.445 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.4262, allocations: 11.98 kB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.259e-05/0.4263, allocations: 27.88 kB / 1.353 GB, free: 8.406 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.4263, allocations: 3.984 kB / 1.353 GB, free: 8.402 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001092/0.4264, allocations: 124.2 kB / 1.353 GB, free: 8.281 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4264, allocations: 4 kB / 1.353 GB, free: 8.277 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002755/0.4267, allocations: 43.84 kB / 1.353 GB, free: 8.234 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.0008166/0.4275, allocations: 0.8042 MB / 1.354 GB, free: 7.402 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004237/0.4279, allocations: 135.8 kB / 1.354 GB, free: 7.27 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4279, allocations: 0 / 1.354 GB, free: 7.27 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.4281, allocations: 75.89 kB / 1.354 GB, free: 7.195 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.4284, allocations: 26.02 kB / 1.354 GB, free: 7.172 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002743/0.4311, allocations: 1.972 MB / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.4316, allocations: 0.7358 MB / 1.357 GB, free: 4.328 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001031/0.4317, allocations: 25.47 kB / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.4318, allocations: 67.41 kB / 1.357 GB, free: 4.234 MB / 1.045 GB Notification: Performance of SimCode: time 4.11e-07/0.4318, allocations: 0 / 1.357 GB, free: 4.234 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/0.457, allocations: 3.478 MB / 1.36 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.25, allocations: 17.98 kB / 1.36 GB, free: 0.9492 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: 19.373738526017405] Failed to read output from testmodel.py, exit status != 0: 12.40534574398771 12.421296163 12.000460831 Calling exit ...