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.001735/0.001735, allocations: 101.3 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.002085/0.002085, allocations: 220.1 kB / 23.03 MB, free: 4.941 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.446/1.446, 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 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.769/2.769, allocations: 476.8 MB / 0.7715 GB, free: 3.887 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.002037/0.002037, allocations: 74.48 kB / 1.118 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3271, allocations: 169.9 MB / 1.284 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.ActiveAirFlow): time 0.002649/0.3297, allocations: 1.071 MB / 1.285 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.3313, allocations: 1.053 MB / 1.286 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.3314, allocations: 8 kB / 1.286 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.718e-05/0.3315, allocations: 23.67 kB / 1.286 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.3316, allocations: 27.73 kB / 1.286 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.3319, allocations: 87.84 kB / 1.286 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002771/0.3322, allocations: 228.2 kB / 1.287 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000231/0.3324, allocations: 97.09 kB / 1.287 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.3327, allocations: 107.5 kB / 1.287 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.3328, allocations: 103.5 kB / 1.287 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.344e-05/0.3329, allocations: 24 kB / 1.287 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.724e-05/0.333, allocations: 31.98 kB / 1.287 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.842e-05/0.333, allocations: 51.84 kB / 1.287 GB, free: 500 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.3331, allocations: 83.53 kB / 1.287 GB, free: 416 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004131/0.3335, allocations: 314.9 kB / 1.287 GB, free: 100 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3335, allocations: 0 / 1.287 GB, free: 100 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3335, allocations: 0 / 1.287 GB, free: 100 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.3336, allocations: 0 / 1.287 GB, free: 100 kB / 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.0008535/0.3344, allocations: 425.8 kB / 1.288 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.3345, allocations: 12.03 kB / 1.288 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.572e-05/0.3345, allocations: 8.625 kB / 1.288 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.256e-05/0.3345, allocations: 58.72 kB / 1.288 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.3347, allocations: 32.75 kB / 1.288 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004883/0.3352, allocations: 222.4 kB / 1.288 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.3352, allocations: 20.81 kB / 1.288 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.3353, allocations: 16.38 kB / 1.288 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000452/0.3357, allocations: 203.6 kB / 1.288 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.3357, allocations: 4 kB / 1.288 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.3358, allocations: 4 kB / 1.288 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.3358, allocations: 8 kB / 1.288 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004266/0.3362, allocations: 161.6 kB / 1.288 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000945/0.3371, allocations: 0.5065 MB / 1.289 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003961/0.3375, allocations: 146.7 kB / 1.289 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.3377, allocations: 68.83 kB / 1.289 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.3377, allocations: 0 / 1.289 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.3378, allocations: 42.48 kB / 1.289 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 1.012e-06/0.3378, allocations: 0 / 1.289 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.0006476/0.3384, allocations: 215.5 kB / 1.289 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.3385, allocations: 55.41 kB / 1.289 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.3387, allocations: 183.5 kB / 1.29 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.3387, allocations: 29.7 kB / 1.29 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.3388, allocations: 148.4 kB / 1.29 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.479e-05/0.3389, allocations: 47.64 kB / 1.29 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.621e-05/0.3389, allocations: 49.7 kB / 1.29 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3391, allocations: 330.8 kB / 1.29 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.3393, allocations: 47.97 kB / 1.29 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.3395, allocations: 108.2 kB / 1.29 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/0.3398, allocations: 147.4 kB / 1.291 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.3398, allocations: 7.938 kB / 1.291 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004607/0.3403, allocations: 197.3 kB / 1.291 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.3403, allocations: 8 kB / 1.291 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3403, allocations: 0 / 1.291 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3403, allocations: 4 kB / 1.291 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.3405, allocations: 31.91 kB / 1.291 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.3405, allocations: 7.984 kB / 1.291 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.3406, allocations: 23.88 kB / 1.291 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.3407, allocations: 12.16 kB / 1.291 GB, free: 12.34 MB / 0.9981 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.0002875/0.3409, allocations: 147 kB / 1.291 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.75e-05/0.341, allocations: 15.91 kB / 1.291 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.65e-05/0.3411, allocations: 21.8 kB / 1.291 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.3411, allocations: 4 kB / 1.291 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.3411, allocations: 0 / 1.291 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3411, allocations: 0 / 1.291 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.3414, allocations: 232.6 kB / 1.291 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.3414, allocations: 0 / 1.291 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.3415, allocations: 27.97 kB / 1.291 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.3415, allocations: 4 kB / 1.291 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.3416, allocations: 4 kB / 1.291 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3416, allocations: 0 / 1.291 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3416, allocations: 0 / 1.291 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004868/0.342, allocations: 269.4 kB / 1.291 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.878e-05/0.3421, allocations: 19.84 kB / 1.291 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.3421, allocations: 4 kB / 1.291 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.3422, allocations: 11.98 kB / 1.292 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.857e-05/0.3423, allocations: 19.97 kB / 1.292 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.3423, allocations: 8 kB / 1.292 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001037/0.3424, allocations: 123.2 kB / 1.292 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3424, allocations: 0 / 1.292 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002879/0.3427, allocations: 35.89 kB / 1.292 GB, free: 11.35 MB / 0.9981 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.0008393/0.3436, allocations: 0.8175 MB / 1.292 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005165/0.3441, allocations: 142.2 kB / 1.293 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3441, allocations: 4 kB / 1.293 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.3443, allocations: 71.89 kB / 1.293 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.3446, allocations: 20.31 kB / 1.293 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/0.3474, allocations: 1.974 MB / 1.295 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.3476, allocations: 129.1 kB / 1.295 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001087/0.3477, allocations: 21.48 kB / 1.295 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.3478, allocations: 71.41 kB / 1.295 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of SimCode: time 6.22e-07/0.3478, allocations: 0 / 1.295 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02522/0.373, allocations: 3.492 MB / 1.298 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.15, allocations: 17.16 kB / 1.298 GB, free: 4.676 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.513217078056186] Failed to read output from testmodel.py, exit status != 0: 12.312324416008778 12.329896875 11.992915954 Calling exit ...