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.Overrides.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.001796/0.001796, 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.002126/0.002126, allocations: 221.2 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.526/1.526, 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.249/3.249, 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.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides",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.00197/0.00197, allocations: 65.73 kB / 1.171 GB, free: 19.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3451, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides): time 0.003219/0.3483, allocations: 1.589 MB / 1.347 GB, free: 14.33 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001588/0.3499, allocations: 1.178 MB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.3501, allocations: 8 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.3502, allocations: 55.27 kB / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001822/0.3504, allocations: 55.34 kB / 1.348 GB, free: 13.02 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003778/0.3508, allocations: 187.8 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005153/0.3513, allocations: 0.5048 MB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003839/0.3517, allocations: 217.2 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002432/0.3519, allocations: 211.2 kB / 1.349 GB, free: 11.91 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.3522, allocations: 246.8 kB / 1.349 GB, free: 11.66 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.093e-05/0.3523, allocations: 56 kB / 1.35 GB, free: 11.61 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.892e-05/0.3523, allocations: 60 kB / 1.35 GB, free: 11.55 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.3524, allocations: 119.6 kB / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.3526, allocations: 191 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007269/0.3534, allocations: 0.7026 MB / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3534, allocations: 0 / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3534, allocations: 0 / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.3534, allocations: 0 / 1.351 GB, free: 10.54 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001425/0.3548, allocations: 0.7038 MB / 1.351 GB, free: 9.805 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3548, allocations: 8.031 kB / 1.351 GB, free: 9.797 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.327e-05/0.3549, allocations: 13.19 kB / 1.351 GB, free: 9.785 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.831e-05/0.355, allocations: 86.7 kB / 1.351 GB, free: 9.691 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.487e-05/0.3551, allocations: 56.56 kB / 1.351 GB, free: 9.637 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.3563, allocations: 424.4 kB / 1.352 GB, free: 9.199 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.093e-05/0.3563, allocations: 49.31 kB / 1.352 GB, free: 9.148 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.526e-05/0.3564, allocations: 44.38 kB / 1.352 GB, free: 9.105 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.3575, allocations: 0.5021 MB / 1.352 GB, free: 8.594 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.3575, allocations: 0 / 1.352 GB, free: 8.594 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.481e-05/0.3576, allocations: 20 kB / 1.352 GB, free: 8.574 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.3576, allocations: 12 kB / 1.352 GB, free: 8.562 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.3588, allocations: 429.7 kB / 1.353 GB, free: 8.141 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.3606, allocations: 1.092 MB / 1.354 GB, free: 6.996 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009763/0.3616, allocations: 395.7 kB / 1.354 GB, free: 6.582 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005769/0.3622, allocations: 198.5 kB / 1.354 GB, free: 6.379 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.391e-05/0.3622, allocations: 11.98 kB / 1.354 GB, free: 6.367 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.3622, allocations: 38.56 kB / 1.355 GB, free: 6.32 MB / 1.045 GB Notification: Performance of pre-optimization done (n=41): time 2.064e-06/0.3622, allocations: 0 / 1.355 GB, free: 6.32 MB / 1.045 GB Notification: Performance of matching and sorting (n=41): time 0.001842/0.3641, allocations: 0.5762 MB / 1.355 GB, free: 5.738 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/0.3642, allocations: 114.8 kB / 1.355 GB, free: 5.602 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003112/0.3645, allocations: 288.1 kB / 1.355 GB, free: 5.312 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/0.3645, allocations: 29.7 kB / 1.355 GB, free: 5.277 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.3647, allocations: 228.6 kB / 1.356 GB, free: 5.047 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.3648, allocations: 123 kB / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.365, allocations: 90.11 kB / 1.356 GB, free: 4.832 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.3651, allocations: 346.8 kB / 1.356 GB, free: 4.484 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005378/0.3657, allocations: 164.7 kB / 1.356 GB, free: 4.324 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006967/0.3664, allocations: 249.6 kB / 1.357 GB, free: 4.043 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.3675, allocations: 400.6 kB / 1.357 GB, free: 3.621 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3675, allocations: 0 / 1.357 GB, free: 3.621 MB / 1.045 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001284/0.3687, allocations: 476.8 kB / 1.357 GB, free: 3.148 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.3688, allocations: 4 kB / 1.357 GB, free: 3.145 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3688, allocations: 4 kB / 1.357 GB, free: 3.141 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.3688, allocations: 8.188 kB / 1.357 GB, free: 3.133 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004973/0.3693, allocations: 99.86 kB / 1.358 GB, free: 3.035 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.3693, allocations: 4 kB / 1.358 GB, free: 3.031 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003161/0.3696, allocations: 63.67 kB / 1.358 GB, free: 2.969 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/0.3697, allocations: 19.98 kB / 1.358 GB, free: 2.949 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 24 (reaToInt2.y,ove.or5.y,ove.or1.y,ove.forMinFlo1.y,ove.or3.y,ove.forMinFlo.y,ove.forCooMax.y,ove.forZerFlo.y,reaToInt1.y,ove.or2.y,ove.intEqu4.y,ove.intEqu3.y,reaToInt3.y,ove.or4.y,ove.intEqu2.y,ove.intEqu1.y,ove.conInt7.y,ove.conInt6.y,ove.conInt4.y,ove.conInt3.y,ove.conInt5.y,ove.conInt2.y,ove.conInt1.y,ove.conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.0002817/0.3699, allocations: 177.7 kB / 1.358 GB, free: 2.766 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-05/0.37, allocations: 31.81 kB / 1.358 GB, free: 2.734 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.3701, allocations: 46.08 kB / 1.358 GB, free: 2.688 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.3701, allocations: 4 kB / 1.358 GB, free: 2.684 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.3702, allocations: 0 / 1.358 GB, free: 2.684 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.3702, allocations: 7.922 kB / 1.358 GB, free: 2.676 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006566/0.3708, allocations: 396.3 kB / 1.358 GB, free: 2.246 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3708, allocations: 4 kB / 1.358 GB, free: 2.242 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004214/0.3712, allocations: 83.86 kB / 1.358 GB, free: 2.16 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.3712, allocations: 4 kB / 1.358 GB, free: 2.156 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.3713, allocations: 7.938 kB / 1.358 GB, free: 2.148 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.3713, allocations: 4 kB / 1.358 GB, free: 2.145 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3713, allocations: 0 / 1.358 GB, free: 2.145 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.3726, allocations: 0.6745 MB / 1.359 GB, free: 1.453 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.992e-05/0.3727, allocations: 31.75 kB / 1.359 GB, free: 1.422 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.776e-05/0.3727, allocations: 7.938 kB / 1.359 GB, free: 1.414 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/0.3731, allocations: 43.95 kB / 1.359 GB, free: 1.371 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/0.3733, allocations: 67.91 kB / 1.359 GB, free: 1.305 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.3733, allocations: 12 kB / 1.359 GB, free: 1.293 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001756/0.3735, allocations: 175.1 kB / 1.359 GB, free: 1.125 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3735, allocations: 0 / 1.359 GB, free: 1.125 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004846/0.3739, allocations: 95.67 kB / 1.359 GB, free: 1.031 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 (ove.forZerFlo.y,ove.forCooMax.y,ove.forMinFlo.y,ove.or3.y,ove.forMinFlo1.y,ove.or1.y,ove.or5.y,reaToInt2.y,ove.intEqu3.y,ove.intEqu4.y,ove.or2.y,reaToInt1.y,ove.intEqu1.y,ove.intEqu2.y,ove.or4.y,reaToInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 41 * 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.001754/0.3757, allocations: 1.23 MB / 1.361 GB, free: 15.77 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001238/0.3769, allocations: 403.9 kB / 1.361 GB, free: 15.38 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3769, allocations: 0 / 1.361 GB, free: 15.38 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006494/0.3776, allocations: 219.7 kB / 1.361 GB, free: 15.16 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005989/0.3782, allocations: 54.12 kB / 1.361 GB, free: 15.11 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006003/0.3842, allocations: 3.477 MB / 1.365 GB, free: 11.48 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.3844, allocations: 211.9 kB / 1.365 GB, free: 11.25 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.00024/0.3847, allocations: 59.27 kB / 1.365 GB, free: 11.2 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/0.3849, allocations: 163.3 kB / 1.365 GB, free: 11.04 MB / 1.061 GB Notification: Performance of SimCode: time 1.022e-06/0.3849, allocations: 3.938 kB / 1.365 GB, free: 11.03 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03022/0.4152, allocations: 7.438 MB / 1.372 GB, free: 3.848 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.45, allocations: 13.14 kB / 1.372 GB, free: 3.836 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Overrides.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Overrides.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.23356452200096] Failed to read output from testmodel.py, exit status != 0: 12.614298628061078 12.630375264 12.273961245 Calling exit ...