Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.001463/0.001463, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00173/0.00173, allocations: 214.9 kB / 23.04 MB, free: 5.07 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.55/1.55, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.394/3.394, allocations: 0.5003 GB / 0.8061 GB, free: 26.74 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.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_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.002019/0.002019, allocations: 65.95 kB / 1.171 GB, free: 19.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3939, allocations: 179 MB / 1.345 GB, free: 476 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow): time 0.002532/0.3964, allocations: 1.143 MB / 1.346 GB, free: 15.32 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.3979, allocations: 1.061 MB / 1.348 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.398, allocations: 4 kB / 1.348 GB, free: 14.24 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.723e-05/0.398, allocations: 27.66 kB / 1.348 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.3982, allocations: 35.67 kB / 1.348 GB, free: 14.18 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.3985, allocations: 79.92 kB / 1.348 GB, free: 14.1 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002734/0.3988, allocations: 232.1 kB / 1.348 GB, free: 13.88 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002557/0.399, allocations: 96.58 kB / 1.348 GB, free: 13.78 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002583/0.3993, allocations: 107.6 kB / 1.348 GB, free: 13.67 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.3994, allocations: 99.53 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.609e-05/0.3995, allocations: 24 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.439e-05/0.3996, allocations: 31.94 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.467e-05/0.3996, allocations: 51.84 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.3997, allocations: 103.5 kB / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004336/0.4002, allocations: 312.5 kB / 1.349 GB, free: 13.06 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4002, allocations: 0 / 1.349 GB, free: 13.06 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.273e-06/0.4002, allocations: 0 / 1.349 GB, free: 13.06 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.4002, allocations: 0 / 1.349 GB, free: 13.06 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007733/0.4009, allocations: 437.7 kB / 1.349 GB, free: 12.6 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.401, allocations: 16.02 kB / 1.349 GB, free: 12.59 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.214e-05/0.401, allocations: 4.625 kB / 1.349 GB, free: 12.58 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.339e-05/0.4011, allocations: 58.73 kB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.4012, allocations: 40.72 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004708/0.4017, allocations: 213.4 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.4017, allocations: 16.81 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.4018, allocations: 20.38 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004251/0.4022, allocations: 195.6 kB / 1.35 GB, free: 12.01 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.4022, allocations: 4 kB / 1.35 GB, free: 12.01 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.4022, allocations: 8 kB / 1.35 GB, free: 12 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.4022, allocations: 4 kB / 1.35 GB, free: 12 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004162/0.4027, allocations: 165.6 kB / 1.35 GB, free: 11.83 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008491/0.4035, allocations: 0.5532 MB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003874/0.4039, allocations: 142.7 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.4041, allocations: 66.64 kB / 1.351 GB, free: 11.02 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.4041, allocations: 11.89 kB / 1.351 GB, free: 11.01 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.4041, allocations: 38.5 kB / 1.351 GB, free: 10.96 MB / 1.045 GB Notification: Performance of pre-optimization done (n=17): time 1.243e-06/0.4041, allocations: 0 / 1.351 GB, free: 10.96 MB / 1.045 GB Notification: Performance of matching and sorting (n=17): time 0.0006276/0.4047, allocations: 217.4 kB / 1.351 GB, free: 10.74 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.4048, allocations: 51.41 kB / 1.351 GB, free: 10.68 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.405, allocations: 182.2 kB / 1.351 GB, free: 10.49 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.405, allocations: 25.7 kB / 1.351 GB, free: 10.46 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.717e-05/0.4051, allocations: 140.5 kB / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/0.4051, allocations: 47.7 kB / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-05/0.4052, allocations: 49.7 kB / 1.351 GB, free: 10.21 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.4054, allocations: 330.8 kB / 1.352 GB, free: 9.883 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.4055, allocations: 51.97 kB / 1.352 GB, free: 9.832 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.4057, allocations: 110.4 kB / 1.352 GB, free: 9.707 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003434/0.4061, allocations: 138.5 kB / 1.352 GB, free: 9.555 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4061, allocations: 3.938 kB / 1.352 GB, free: 9.551 MB / 1.045 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004516/0.4065, allocations: 203.2 kB / 1.352 GB, free: 9.348 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.4066, allocations: 4 kB / 1.352 GB, free: 9.344 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.4066, allocations: 11.92 kB / 1.352 GB, free: 9.332 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.4066, allocations: 0 / 1.352 GB, free: 9.332 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.4068, allocations: 35.91 kB / 1.352 GB, free: 9.297 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.4068, allocations: 4 kB / 1.352 GB, free: 9.293 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.4069, allocations: 24.03 kB / 1.352 GB, free: 9.27 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.4069, allocations: 8 kB / 1.352 GB, free: 9.262 MB / 1.045 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.0001808/0.4071, allocations: 153.6 kB / 1.352 GB, free: 9.102 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.4071, allocations: 15.91 kB / 1.352 GB, free: 9.086 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.224e-05/0.4072, allocations: 21.8 kB / 1.352 GB, free: 9.07 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4072, allocations: 0 / 1.352 GB, free: 9.07 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4072, allocations: 0 / 1.352 GB, free: 9.07 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.4072, allocations: 4 kB / 1.352 GB, free: 9.066 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.4075, allocations: 256.5 kB / 1.353 GB, free: 8.773 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4075, allocations: 0 / 1.353 GB, free: 8.773 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.4076, allocations: 23.97 kB / 1.353 GB, free: 8.75 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4077, allocations: 0 / 1.353 GB, free: 8.75 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.4077, allocations: 4 kB / 1.353 GB, free: 8.746 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.351e-06/0.4077, allocations: 8 kB / 1.353 GB, free: 8.738 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4077, allocations: 0 / 1.353 GB, free: 8.738 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004572/0.4081, allocations: 265.1 kB / 1.353 GB, free: 8.465 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.498e-05/0.4082, allocations: 19.83 kB / 1.353 GB, free: 8.445 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.4082, allocations: 0 / 1.353 GB, free: 8.445 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.4083, allocations: 8 kB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.464e-05/0.4084, allocations: 27.86 kB / 1.353 GB, free: 8.41 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.4084, allocations: 11.94 kB / 1.353 GB, free: 8.398 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001006/0.4085, allocations: 124.2 kB / 1.353 GB, free: 8.277 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4085, allocations: 0 / 1.353 GB, free: 8.277 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002808/0.4088, allocations: 39.89 kB / 1.353 GB, free: 8.238 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: 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.0007902/0.4096, allocations: 0.7982 MB / 1.354 GB, free: 7.41 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000436/0.41, allocations: 149.9 kB / 1.354 GB, free: 7.266 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.41, allocations: 0 / 1.354 GB, free: 7.266 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.4102, allocations: 71.89 kB / 1.354 GB, free: 7.195 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.4105, allocations: 20.25 kB / 1.354 GB, free: 7.176 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002861/0.4134, allocations: 1.986 MB / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.4138, allocations: 0.7397 MB / 1.357 GB, free: 4.316 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001046/0.4139, allocations: 17.48 kB / 1.357 GB, free: 4.297 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.414, allocations: 71.34 kB / 1.357 GB, free: 4.227 MB / 1.045 GB Notification: Performance of SimCode: time 6.72e-07/0.414, allocations: 0 / 1.357 GB, free: 4.227 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02625/0.4402, allocations: 3.469 MB / 1.36 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.21, allocations: 10.66 kB / 1.36 GB, free: 0.957 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.25402968400158] Failed to read output from testmodel.py, exit status != 0: 12.373590701026842 12.390552206 11.986525842 Calling exit ...