Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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.001219/0.001219, 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.001369/0.001369, allocations: 217 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.274/3.274, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 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.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_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.00199/0.00199, allocations: 67.67 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.4003, allocations: 179 MB / 1.345 GB, free: 448 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.00311/0.4034, allocations: 1.442 MB / 1.347 GB, free: 14.99 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001696/0.4051, allocations: 1.139 MB / 1.348 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.4052, allocations: 4 kB / 1.348 GB, free: 13.83 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.4053, allocations: 39.47 kB / 1.348 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001672/0.4055, allocations: 39.61 kB / 1.348 GB, free: 13.75 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.4058, allocations: 123.8 kB / 1.348 GB, free: 13.63 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003826/0.4062, allocations: 352.6 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003262/0.4066, allocations: 154.5 kB / 1.349 GB, free: 13.13 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002972/0.4069, allocations: 151.4 kB / 1.349 GB, free: 12.98 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.407, allocations: 143.3 kB / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.362e-05/0.4071, allocations: 36 kB / 1.349 GB, free: 12.81 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.74e-05/0.4072, allocations: 51.98 kB / 1.349 GB, free: 12.76 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.075e-05/0.4073, allocations: 79.7 kB / 1.349 GB, free: 12.68 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.4074, allocations: 151.2 kB / 1.349 GB, free: 12.53 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006376/0.408, allocations: 498.1 kB / 1.35 GB, free: 12.04 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.4081, allocations: 4 kB / 1.35 GB, free: 12.04 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4081, allocations: 4 kB / 1.35 GB, free: 12.04 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.4081, allocations: 0 / 1.35 GB, free: 12.04 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.0009071/0.409, allocations: 0.5134 MB / 1.35 GB, free: 11.49 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.409, allocations: 8.031 kB / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.532e-05/0.409, allocations: 9.188 kB / 1.35 GB, free: 11.47 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.529e-05/0.4091, allocations: 74.72 kB / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/0.4093, allocations: 52.69 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005399/0.4098, allocations: 263.7 kB / 1.351 GB, free: 11.05 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.375e-05/0.4099, allocations: 25.38 kB / 1.351 GB, free: 11.03 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.822e-05/0.4099, allocations: 32.38 kB / 1.351 GB, free: 11 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005798/0.4105, allocations: 298.8 kB / 1.351 GB, free: 10.7 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.4105, allocations: 0 / 1.351 GB, free: 10.7 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.4105, allocations: 12 kB / 1.351 GB, free: 10.69 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.4106, allocations: 19.92 kB / 1.351 GB, free: 10.67 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005622/0.4111, allocations: 235.8 kB / 1.351 GB, free: 10.44 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.4125, allocations: 0.7749 MB / 1.352 GB, free: 9.613 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005135/0.413, allocations: 227.4 kB / 1.352 GB, free: 9.383 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002438/0.4132, allocations: 101.3 kB / 1.352 GB, free: 9.281 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.368e-05/0.4133, allocations: 8.219 kB / 1.352 GB, free: 9.273 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.4133, allocations: 34.8 kB / 1.352 GB, free: 9.23 MB / 1.045 GB Notification: Performance of pre-optimization done (n=27): time 2.515e-06/0.4133, allocations: 0 / 1.352 GB, free: 9.23 MB / 1.045 GB Notification: Performance of matching and sorting (n=27): time 0.000944/0.4143, allocations: 317.4 kB / 1.353 GB, free: 8.918 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.4143, allocations: 55.41 kB / 1.353 GB, free: 8.852 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.4145, allocations: 211.7 kB / 1.353 GB, free: 8.637 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.4146, allocations: 29.7 kB / 1.353 GB, free: 8.602 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.4147, allocations: 180.5 kB / 1.353 GB, free: 8.422 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.209e-05/0.4148, allocations: 87.25 kB / 1.353 GB, free: 8.336 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.4149, allocations: 73.97 kB / 1.353 GB, free: 8.258 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.4151, allocations: 330.8 kB / 1.353 GB, free: 7.926 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.4153, allocations: 80.52 kB / 1.354 GB, free: 7.848 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/0.4156, allocations: 139.9 kB / 1.354 GB, free: 7.688 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004583/0.4161, allocations: 226.9 kB / 1.354 GB, free: 7.441 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.4161, allocations: 0 / 1.354 GB, free: 7.441 MB / 1.045 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005827/0.4166, allocations: 273.4 kB / 1.354 GB, free: 7.168 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.4167, allocations: 4 kB / 1.354 GB, free: 7.164 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.4167, allocations: 7.938 kB / 1.354 GB, free: 7.156 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.4167, allocations: 7.984 kB / 1.354 GB, free: 7.148 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.417, allocations: 55.91 kB / 1.354 GB, free: 7.094 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.417, allocations: 0 / 1.354 GB, free: 7.094 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.4171, allocations: 35.77 kB / 1.354 GB, free: 7.059 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.4171, allocations: 12 kB / 1.354 GB, free: 7.047 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: 14 (reaToInt2.y,actAirSet.or1.y,actAirSet.ifSetBac.y,actAirSet.ifWarUp.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or2.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 (34): * Single equations (assignments): 34 * 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.0002431/0.4174, allocations: 149.8 kB / 1.354 GB, free: 6.891 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.027e-05/0.4174, allocations: 23.86 kB / 1.354 GB, free: 6.867 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006025/0.418, allocations: 260.3 kB / 1.355 GB, free: 6.605 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.418, allocations: 4 kB / 1.355 GB, free: 6.602 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.418, allocations: 0 / 1.355 GB, free: 6.602 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.4181, allocations: 7.984 kB / 1.355 GB, free: 6.594 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004062/0.4185, allocations: 316.5 kB / 1.355 GB, free: 6.242 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4185, allocations: 3.938 kB / 1.355 GB, free: 6.238 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.4187, allocations: 35.97 kB / 1.355 GB, free: 6.203 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.4187, allocations: 4 kB / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.4187, allocations: 11.88 kB / 1.355 GB, free: 6.188 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4187, allocations: 0 / 1.355 GB, free: 6.188 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-06/0.4187, allocations: 11.94 kB / 1.355 GB, free: 6.176 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005723/0.4193, allocations: 331.3 kB / 1.355 GB, free: 5.836 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.222e-05/0.4193, allocations: 19.8 kB / 1.355 GB, free: 5.816 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.4193, allocations: 11.94 kB / 1.355 GB, free: 5.805 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.4195, allocations: 11.98 kB / 1.355 GB, free: 5.793 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.215e-05/0.4195, allocations: 23.95 kB / 1.355 GB, free: 5.77 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.4196, allocations: 12 kB / 1.355 GB, free: 5.758 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001427/0.4197, allocations: 133.5 kB / 1.356 GB, free: 5.629 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4197, allocations: 4 kB / 1.356 GB, free: 5.625 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003361/0.42, allocations: 63.78 kB / 1.356 GB, free: 5.562 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: 9 (actAirSet.or3.y,actAirSet.or2.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.ifWarUp.y,actAirSet.ifSetBac.y,actAirSet.or1.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0009922/0.421, allocations: 0.8728 MB / 1.356 GB, free: 4.664 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005467/0.4216, allocations: 212 kB / 1.357 GB, free: 4.457 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4216, allocations: 0 / 1.357 GB, free: 4.457 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002443/0.4218, allocations: 111.8 kB / 1.357 GB, free: 4.348 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.4222, allocations: 31.27 kB / 1.357 GB, free: 4.32 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/0.4257, allocations: 2.405 MB / 1.359 GB, free: 1.793 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/0.4262, allocations: 0.7672 MB / 1.36 GB, free: 1 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001512/0.4263, allocations: 34.27 kB / 1.36 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.4265, allocations: 99.41 kB / 1.36 GB, free: 0.8711 MB / 1.045 GB Notification: Performance of SimCode: time 1.022e-06/0.4265, allocations: 3.938 kB / 1.36 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02765/0.4542, allocations: 4.373 MB / 1.364 GB, free: 12.68 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.04, allocations: 12.92 kB / 1.364 GB, free: 12.67 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.865529114031233] Failed to read output from testmodel.py, exit status != 0: 12.209591254009865 12.238451592 11.825371421 Calling exit ...