Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001852/0.001852, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.002387/0.002387, allocations: 213.8 kB / 23.03 MB, free: 4.426 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.184/3.184, allocations: 0.49 GB / 0.7959 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_12_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_12_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.002044/0.002044, allocations: 66.5 kB / 1.155 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3345, allocations: 176.1 MB / 1.327 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow): time 0.003148/0.3377, allocations: 1.202 MB / 1.328 GB, free: 308 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001754/0.3394, allocations: 1.116 MB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002296/0.3397, allocations: 4 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001981/0.3399, allocations: 43.53 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.34, allocations: 35.67 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003594/0.3404, allocations: 119.8 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003992/0.3408, allocations: 304.4 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000292/0.3411, allocations: 125.4 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003225/0.3414, allocations: 131.4 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.3416, allocations: 119.4 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.749e-05/0.3416, allocations: 32 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.921e-05/0.3417, allocations: 40 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.412e-05/0.3418, allocations: 67.83 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.3419, allocations: 107.4 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005523/0.3425, allocations: 421.5 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.3425, allocations: 0 / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3425, allocations: 0 / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.674e-05/0.3425, allocations: 0 / 1.33 GB, free: 13.65 MB / 1.029 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.001047/0.3435, allocations: 499.2 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.3436, allocations: 12.03 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.416e-05/0.3436, allocations: 12.84 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.96e-05/0.3437, allocations: 66.72 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002048/0.3439, allocations: 40.73 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006806/0.3446, allocations: 259.3 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/0.3446, allocations: 21.03 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.685e-05/0.3446, allocations: 24.38 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005743/0.3452, allocations: 272.1 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.3452, allocations: 0 / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.023e-05/0.3453, allocations: 12 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.3453, allocations: 4 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004822/0.3458, allocations: 190.5 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.3468, allocations: 0.5898 MB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004787/0.3473, allocations: 174.7 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.3475, allocations: 64.81 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.3475, allocations: 8 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.3476, allocations: 34.56 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 2.134e-06/0.3476, allocations: 0 / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.0007101/0.3483, allocations: 234.1 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.3483, allocations: 51.41 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.3486, allocations: 219.6 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.3486, allocations: 29.7 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.3487, allocations: 176.7 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.268e-05/0.3488, allocations: 47.58 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.3489, allocations: 65.88 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3491, allocations: 330.8 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.3493, allocations: 64.42 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.3495, allocations: 128.5 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003823/0.3499, allocations: 176.5 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3499, allocations: 0 / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005278/0.3504, allocations: 222.7 kB / 1.334 GB, free: 9.434 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.3504, allocations: 4 kB / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.3505, allocations: 4 kB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.3505, allocations: 8.219 kB / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.3507, allocations: 39.91 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.3507, allocations: 4 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.3508, allocations: 31.83 kB / 1.334 GB, free: 9.344 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.3509, allocations: 8 kB / 1.334 GB, free: 9.336 MB / 1.029 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.0002236/0.3511, allocations: 158 kB / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/0.3511, allocations: 15.91 kB / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.208e-05/0.3512, allocations: 29.8 kB / 1.335 GB, free: 9.125 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.3512, allocations: 4 kB / 1.335 GB, free: 9.121 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3512, allocations: 0 / 1.335 GB, free: 9.121 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3512, allocations: 0 / 1.335 GB, free: 9.121 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003655/0.3516, allocations: 264.5 kB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3516, allocations: 0 / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.3517, allocations: 31.91 kB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3517, allocations: 3.938 kB / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.3518, allocations: 8 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3518, allocations: 0 / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.3518, allocations: 7.984 kB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004976/0.3523, allocations: 281.1 kB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/0.3523, allocations: 19.84 kB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.3523, allocations: 0 / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.3525, allocations: 15.98 kB / 1.335 GB, free: 8.445 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.3526, allocations: 27.95 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.3526, allocations: 4 kB / 1.335 GB, free: 8.414 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001261/0.3527, allocations: 137.5 kB / 1.335 GB, free: 8.281 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3527, allocations: 4 kB / 1.335 GB, free: 8.277 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003509/0.3531, allocations: 51.84 kB / 1.335 GB, free: 8.227 MB / 1.029 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.0008346/0.3539, allocations: 0.8269 MB / 1.336 GB, free: 7.371 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004807/0.3544, allocations: 163.8 kB / 1.336 GB, free: 7.211 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3544, allocations: 0 / 1.336 GB, free: 7.211 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.3546, allocations: 81.78 kB / 1.336 GB, free: 7.133 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.3549, allocations: 20.55 kB / 1.336 GB, free: 7.113 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003177/0.3581, allocations: 2.217 MB / 1.339 GB, free: 4.781 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/0.3583, allocations: 138.7 kB / 1.339 GB, free: 4.629 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001488/0.3584, allocations: 37.92 kB / 1.339 GB, free: 4.59 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.3586, allocations: 79.41 kB / 1.339 GB, free: 4.512 MB / 1.029 GB Notification: Performance of SimCode: time 9.12e-07/0.3586, allocations: 0 / 1.339 GB, free: 4.512 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03356/0.3921, allocations: 4.294 MB / 1.343 GB, free: 464 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.26, allocations: 7.094 kB / 1.343 GB, free: 464 kB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.887818339979276] Failed to read output from testmodel.py, exit status != 0: 12.428513132035732 12.454169642 12.107005236 Calling exit ...