Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001419/0.001419, allocations: 105.2 kB / 19.72 MB, free: 2.234 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.001793/0.001793, allocations: 214.8 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.949 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.797/2.797, allocations: 476.7 MB / 0.7714 GB, free: 4.223 MB / 0.6231 GB " [Timeout remaining time 177] 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.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_11_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_11_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.002098/0.002098, allocations: 63.09 kB / 1.118 GB, free: 39.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3482, allocations: 170 MB / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002951/0.3511, allocations: 1.152 MB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.3527, allocations: 1.057 MB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.3529, allocations: 8 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.947e-05/0.353, allocations: 27.66 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.3531, allocations: 31.73 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.3534, allocations: 79.86 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002938/0.3537, allocations: 224.2 kB / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002448/0.354, allocations: 101.1 kB / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002859/0.3543, allocations: 103.6 kB / 1.287 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.3544, allocations: 103.5 kB / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.357e-05/0.3545, allocations: 27.94 kB / 1.287 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.737e-05/0.3545, allocations: 32 kB / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.557e-05/0.3546, allocations: 47.84 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.716e-05/0.3547, allocations: 103.5 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004007/0.3551, allocations: 312.3 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3551, allocations: 0 / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3551, allocations: 0 / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.327e-06/0.3551, allocations: 3.938 kB / 1.287 GB, free: 7.961 MB / 0.9825 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.0007796/0.3559, allocations: 425.8 kB / 1.288 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.3559, allocations: 16.02 kB / 1.288 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.044e-05/0.3559, allocations: 8.625 kB / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.944e-05/0.356, allocations: 54.73 kB / 1.288 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.3562, allocations: 40.73 kB / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004839/0.3567, allocations: 210.5 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.3567, allocations: 16.81 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.57e-05/0.3567, allocations: 24.38 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004501/0.3572, allocations: 199.6 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.3572, allocations: 4 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.3572, allocations: 15.94 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.3572, allocations: 4 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004273/0.3577, allocations: 161.6 kB / 1.289 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000923/0.3586, allocations: 0.5688 MB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003797/0.359, allocations: 143.2 kB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.3591, allocations: 56.83 kB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.3592, allocations: 11.98 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.3592, allocations: 34.56 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=17): time 1.333e-06/0.3592, allocations: 0 / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17): time 0.0006477/0.3598, allocations: 219.6 kB / 1.29 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.3599, allocations: 51.41 kB / 1.29 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.3601, allocations: 187.5 kB / 1.29 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.3601, allocations: 29.7 kB / 1.29 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.3602, allocations: 144.4 kB / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.137e-05/0.3603, allocations: 51.64 kB / 1.29 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.409e-05/0.3604, allocations: 49.7 kB / 1.29 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3605, allocations: 330.8 kB / 1.29 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.3607, allocations: 47.97 kB / 1.29 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.3609, allocations: 105.1 kB / 1.291 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.3613, allocations: 144.9 kB / 1.291 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.3613, allocations: 3.938 kB / 1.291 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004673/0.3618, allocations: 199.6 kB / 1.291 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3618, allocations: 8 kB / 1.291 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3618, allocations: 0 / 1.291 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3618, allocations: 4 kB / 1.291 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.362, allocations: 35.91 kB / 1.291 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.362, allocations: 0 / 1.291 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.3621, allocations: 27.88 kB / 1.291 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.3622, allocations: 4 kB / 1.291 GB, free: 4.16 MB / 0.9825 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.0002019/0.3624, allocations: 141.8 kB / 1.291 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.3624, allocations: 19.84 kB / 1.291 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.377e-05/0.3625, allocations: 21.8 kB / 1.291 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3625, allocations: 0 / 1.291 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3625, allocations: 0 / 1.291 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3625, allocations: 0 / 1.291 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.3628, allocations: 252.5 kB / 1.291 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3628, allocations: 0 / 1.291 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.3629, allocations: 23.97 kB / 1.291 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.3629, allocations: 4 kB / 1.291 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.3629, allocations: 4 kB / 1.291 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.3629, allocations: 0 / 1.291 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3629, allocations: 3.938 kB / 1.291 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004778/0.3634, allocations: 261.6 kB / 1.292 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.92e-05/0.3635, allocations: 27.81 kB / 1.292 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.3635, allocations: 8 kB / 1.292 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.3636, allocations: 8 kB / 1.292 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.863e-05/0.3637, allocations: 23.95 kB / 1.292 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.3637, allocations: 8 kB / 1.292 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001056/0.3638, allocations: 127.2 kB / 1.292 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3638, allocations: 0 / 1.292 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003131/0.3641, allocations: 35.89 kB / 1.292 GB, free: 3.141 MB / 0.9825 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.0008171/0.3649, allocations: 0.8098 MB / 1.293 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004375/0.3654, allocations: 144 kB / 1.293 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3654, allocations: 0 / 1.293 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002055/0.3656, allocations: 78.08 kB / 1.293 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.3659, allocations: 16.88 kB / 1.293 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/0.3688, allocations: 1.974 MB / 1.295 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.3692, allocations: 0.7435 MB / 1.296 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001013/0.3693, allocations: 25.42 kB / 1.296 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.3694, allocations: 63.41 kB / 1.296 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of SimCode: time 7.11e-07/0.3694, allocations: 4 kB / 1.296 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/0.3947, allocations: 3.475 MB / 1.299 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.97, allocations: 6.859 kB / 1.299 GB, free: 11.86 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.872620640031528] Failed to read output from testmodel.py, exit status != 0: 12.774465046997648 12.172931249 11.811805976 Calling exit ...