Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.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.001284/0.001284, 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.001419/0.001419, allocations: 220.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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.25/3.25, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_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.001902/0.001902, allocations: 68.91 kB / 1.171 GB, free: 19.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3604, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.003256/0.3637, allocations: 1.209 MB / 1.346 GB, free: 14.77 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001688/0.3654, allocations: 1.112 MB / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.3656, allocations: 11.94 kB / 1.348 GB, free: 13.63 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.3657, allocations: 27.61 kB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.937e-05/0.3658, allocations: 39.61 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.3662, allocations: 123.8 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003413/0.3665, allocations: 300.4 kB / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002766/0.3668, allocations: 125.4 kB / 1.348 GB, free: 13.03 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.367, allocations: 127.5 kB / 1.348 GB, free: 12.9 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.3672, allocations: 131.3 kB / 1.348 GB, free: 12.77 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.204e-05/0.3673, allocations: 32 kB / 1.348 GB, free: 12.74 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.499e-05/0.3673, allocations: 32 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.688e-05/0.3674, allocations: 63.83 kB / 1.349 GB, free: 12.65 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.3675, allocations: 107.4 kB / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000538/0.3681, allocations: 418.5 kB / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3681, allocations: 8 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3681, allocations: 3.938 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.3681, allocations: 3.938 kB / 1.349 GB, free: 12.12 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009497/0.369, allocations: 497.6 kB / 1.35 GB, free: 11.6 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.3691, allocations: 8.031 kB / 1.35 GB, free: 11.59 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.375e-05/0.3691, allocations: 8.844 kB / 1.35 GB, free: 11.58 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.168e-05/0.3692, allocations: 58.73 kB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002093/0.3694, allocations: 44.73 kB / 1.35 GB, free: 11.47 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007126/0.3701, allocations: 255.3 kB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.051e-05/0.3701, allocations: 25.03 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/0.3702, allocations: 28.31 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005357/0.3707, allocations: 264.1 kB / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.3707, allocations: 0 / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.191e-05/0.3707, allocations: 15.98 kB / 1.35 GB, free: 10.86 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.3708, allocations: 8 kB / 1.35 GB, free: 10.85 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000476/0.3712, allocations: 190.5 kB / 1.35 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.3723, allocations: 0.5936 MB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004697/0.3728, allocations: 158.8 kB / 1.351 GB, free: 9.855 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.373, allocations: 76.77 kB / 1.351 GB, free: 9.777 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.373, allocations: 0 / 1.351 GB, free: 9.777 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.373, allocations: 34.56 kB / 1.351 GB, free: 9.734 MB / 1.045 GB Notification: Performance of pre-optimization done (n=19): time 1.213e-06/0.373, allocations: 0 / 1.351 GB, free: 9.734 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.0006737/0.3737, allocations: 234.6 kB / 1.351 GB, free: 9.5 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.3738, allocations: 55.41 kB / 1.352 GB, free: 9.434 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.374, allocations: 219.6 kB / 1.352 GB, free: 9.207 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.374, allocations: 29.7 kB / 1.352 GB, free: 9.172 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.3741, allocations: 168.7 kB / 1.352 GB, free: 9 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.315e-05/0.3742, allocations: 55.53 kB / 1.352 GB, free: 8.945 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.3743, allocations: 57.92 kB / 1.352 GB, free: 8.879 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3745, allocations: 334.8 kB / 1.352 GB, free: 8.543 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.3747, allocations: 68.36 kB / 1.352 GB, free: 8.477 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.3749, allocations: 123.8 kB / 1.353 GB, free: 8.332 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/0.3753, allocations: 172.6 kB / 1.353 GB, free: 8.141 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3753, allocations: 0 / 1.353 GB, free: 8.141 MB / 1.045 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005112/0.3758, allocations: 230.3 kB / 1.353 GB, free: 7.91 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.3758, allocations: 8 kB / 1.353 GB, free: 7.902 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.3758, allocations: 0 / 1.353 GB, free: 7.902 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.3758, allocations: 7.984 kB / 1.353 GB, free: 7.895 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.376, allocations: 39.92 kB / 1.353 GB, free: 7.855 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.376, allocations: 4.203 kB / 1.353 GB, free: 7.852 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.3762, allocations: 27.89 kB / 1.353 GB, free: 7.824 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.3762, allocations: 11.98 kB / 1.353 GB, free: 7.812 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 17 (reaToInt2.y,actAirSet.or4.y,actAirSet.or2.y,actAirSet.gre.greHys.y,$PRE.actAirSet.gre.greHys.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 (27): * Single equations (assignments): 27 * 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.0001632/0.3764, allocations: 149.7 kB / 1.353 GB, free: 7.656 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.816e-05/0.3764, allocations: 23.8 kB / 1.353 GB, free: 7.633 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.512e-05/0.3765, allocations: 25.8 kB / 1.353 GB, free: 7.609 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.3765, allocations: 7.984 kB / 1.353 GB, free: 7.602 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3765, allocations: 0 / 1.353 GB, free: 7.602 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3765, allocations: 4 kB / 1.353 GB, free: 7.598 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003492/0.3768, allocations: 260.5 kB / 1.353 GB, free: 7.301 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.3768, allocations: 3.984 kB / 1.353 GB, free: 7.297 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.377, allocations: 23.92 kB / 1.353 GB, free: 7.273 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.377, allocations: 7.938 kB / 1.353 GB, free: 7.266 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.377, allocations: 4 kB / 1.354 GB, free: 7.262 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.377, allocations: 0 / 1.354 GB, free: 7.262 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.377, allocations: 0 / 1.354 GB, free: 7.262 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004734/0.3775, allocations: 284.8 kB / 1.354 GB, free: 6.969 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.266e-05/0.3775, allocations: 23.8 kB / 1.354 GB, free: 6.945 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.3776, allocations: 7.984 kB / 1.354 GB, free: 6.938 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.3777, allocations: 8 kB / 1.354 GB, free: 6.93 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-05/0.3778, allocations: 31.94 kB / 1.354 GB, free: 6.898 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.3778, allocations: 4 kB / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001394/0.3779, allocations: 141.5 kB / 1.354 GB, free: 6.758 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3779, allocations: 0 / 1.354 GB, free: 6.758 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002893/0.3782, allocations: 43.89 kB / 1.354 GB, free: 6.715 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: 11 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,actAirSet.gre.greHys.y,actAirSet.or2.y,actAirSet.or4.y,reaToInt2.y) * Number of discrete states: 1 (actAirSet.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.000933/0.3792, allocations: 0.8311 MB / 1.355 GB, free: 5.855 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005081/0.3797, allocations: 164.2 kB / 1.355 GB, free: 5.695 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3797, allocations: 7.938 kB / 1.355 GB, free: 5.688 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.3799, allocations: 81.95 kB / 1.355 GB, free: 5.609 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.3802, allocations: 31.7 kB / 1.355 GB, free: 5.578 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003126/0.3833, allocations: 2.186 MB / 1.357 GB, free: 3.27 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/0.3835, allocations: 138.9 kB / 1.357 GB, free: 3.121 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002108/0.3837, allocations: 29.94 kB / 1.357 GB, free: 3.09 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/0.3839, allocations: 83.34 kB / 1.357 GB, free: 3.008 MB / 1.045 GB Notification: Performance of SimCode: time 5.21e-07/0.3839, allocations: 4 kB / 1.357 GB, free: 3.004 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02638/0.4103, allocations: 4.311 MB / 1.362 GB, free: 14.92 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.18, allocations: 5.969 kB / 1.362 GB, free: 14.91 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.018824308062904] Failed to read output from testmodel.py, exit status != 0: 12.346133009996265 12.371305789 11.998301792 Calling exit ...