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.001282/0.001282, allocations: 97.92 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.001482/0.001482, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.241/3.241, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 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.002073/0.002073, allocations: 62.53 kB / 1.171 GB, free: 19.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3833, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.ActiveAirFlow): time 0.0033/0.3866, allocations: 1.309 MB / 1.347 GB, free: 14.61 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001756/0.3883, allocations: 1.128 MB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001759/0.3885, allocations: 8 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.3886, allocations: 35.53 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.3888, allocations: 43.55 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004457/0.3892, allocations: 127.8 kB / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004087/0.3897, allocations: 340.6 kB / 1.348 GB, free: 12.92 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003726/0.39, allocations: 154.5 kB / 1.348 GB, free: 12.77 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003361/0.3904, allocations: 151.4 kB / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.3906, allocations: 159.2 kB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.631e-05/0.3906, allocations: 39.94 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.51e-05/0.3907, allocations: 44 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.055e-05/0.3908, allocations: 75.77 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.391, allocations: 127.3 kB / 1.349 GB, free: 12.18 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007515/0.3917, allocations: 494.1 kB / 1.349 GB, free: 11.7 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.3917, allocations: 0 / 1.349 GB, free: 11.7 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.275e-06/0.3917, allocations: 4 kB / 1.349 GB, free: 11.7 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.523e-05/0.3917, allocations: 0 / 1.349 GB, free: 11.7 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.001025/0.3928, allocations: 0.5212 MB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001155/0.3929, allocations: 8.031 kB / 1.35 GB, free: 11.13 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.093e-05/0.3929, allocations: 9.188 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.757e-05/0.393, allocations: 70.72 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002829/0.3933, allocations: 48.69 kB / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006741/0.394, allocations: 259.7 kB / 1.35 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.926e-05/0.394, allocations: 29.38 kB / 1.35 GB, free: 10.69 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.372e-05/0.3941, allocations: 32.38 kB / 1.35 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006227/0.3947, allocations: 298.8 kB / 1.351 GB, free: 10.36 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3947, allocations: 0 / 1.351 GB, free: 10.36 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.365e-05/0.3947, allocations: 12 kB / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.3947, allocations: 8 kB / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005493/0.3953, allocations: 235.9 kB / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.3965, allocations: 0.7164 MB / 1.352 GB, free: 9.344 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000502/0.397, allocations: 219.6 kB / 1.352 GB, free: 9.121 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.3972, allocations: 101.2 kB / 1.352 GB, free: 9.02 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.3973, allocations: 4.234 kB / 1.352 GB, free: 9.016 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.3973, allocations: 42.78 kB / 1.352 GB, free: 8.965 MB / 1.045 GB Notification: Performance of pre-optimization done (n=27): time 1.683e-06/0.3973, allocations: 0 / 1.352 GB, free: 8.965 MB / 1.045 GB Notification: Performance of matching and sorting (n=27): time 0.0008007/0.3981, allocations: 309.3 kB / 1.352 GB, free: 8.66 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.3981, allocations: 51.41 kB / 1.352 GB, free: 8.598 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.3983, allocations: 215.6 kB / 1.352 GB, free: 8.379 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.3984, allocations: 33.7 kB / 1.353 GB, free: 8.34 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.3985, allocations: 180.5 kB / 1.353 GB, free: 8.16 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.292e-05/0.3986, allocations: 79.28 kB / 1.353 GB, free: 8.082 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.3987, allocations: 73.91 kB / 1.353 GB, free: 8.004 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3988, allocations: 330.8 kB / 1.353 GB, free: 7.672 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.3991, allocations: 88.45 kB / 1.353 GB, free: 7.586 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.3993, allocations: 139.9 kB / 1.353 GB, free: 7.426 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004427/0.3998, allocations: 226.9 kB / 1.354 GB, free: 7.18 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.3998, allocations: 4 kB / 1.354 GB, free: 7.176 MB / 1.045 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005558/0.4003, allocations: 261.3 kB / 1.354 GB, free: 6.914 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.4003, allocations: 8.203 kB / 1.354 GB, free: 6.906 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.4004, allocations: 11.94 kB / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.4004, allocations: 0 / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.4006, allocations: 59.84 kB / 1.354 GB, free: 6.836 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.4007, allocations: 7.938 kB / 1.354 GB, free: 6.828 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.4008, allocations: 35.77 kB / 1.354 GB, free: 6.793 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.4008, allocations: 12 kB / 1.354 GB, free: 6.781 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.0002215/0.401, allocations: 149.7 kB / 1.354 GB, free: 6.625 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.565e-05/0.4011, allocations: 27.86 kB / 1.354 GB, free: 6.598 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006648/0.4018, allocations: 256.4 kB / 1.354 GB, free: 6.34 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.4018, allocations: 4 kB / 1.354 GB, free: 6.336 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4018, allocations: 0 / 1.354 GB, free: 6.336 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.4018, allocations: 3.984 kB / 1.354 GB, free: 6.332 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003951/0.4022, allocations: 300.5 kB / 1.355 GB, free: 5.996 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4022, allocations: 0 / 1.355 GB, free: 5.996 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.4024, allocations: 43.91 kB / 1.355 GB, free: 5.953 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.4024, allocations: 4 kB / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.4024, allocations: 7.938 kB / 1.355 GB, free: 5.941 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.4024, allocations: 0 / 1.355 GB, free: 5.941 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4024, allocations: 0 / 1.355 GB, free: 5.941 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005379/0.4029, allocations: 335.2 kB / 1.355 GB, free: 5.598 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.025e-05/0.403, allocations: 19.8 kB / 1.355 GB, free: 5.578 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.403, allocations: 11.94 kB / 1.355 GB, free: 5.566 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.4031, allocations: 15.98 kB / 1.355 GB, free: 5.551 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.568e-05/0.4032, allocations: 27.94 kB / 1.355 GB, free: 5.523 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.4032, allocations: 12 kB / 1.355 GB, free: 5.512 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001181/0.4034, allocations: 137.5 kB / 1.355 GB, free: 5.379 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4034, allocations: 0 / 1.355 GB, free: 5.379 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003225/0.4037, allocations: 59.78 kB / 1.355 GB, free: 5.32 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.0009016/0.4046, allocations: 0.8767 MB / 1.356 GB, free: 4.418 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005247/0.4051, allocations: 216 kB / 1.356 GB, free: 4.207 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.4051, allocations: 0 / 1.356 GB, free: 4.207 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002612/0.4054, allocations: 103.9 kB / 1.356 GB, free: 4.105 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.4057, allocations: 40.08 kB / 1.357 GB, free: 4.066 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003484/0.4092, allocations: 2.394 MB / 1.359 GB, free: 1.551 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001706/0.4094, allocations: 167.1 kB / 1.359 GB, free: 1.371 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001367/0.4095, allocations: 30.28 kB / 1.359 GB, free: 1.336 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.4097, allocations: 95.41 kB / 1.359 GB, free: 1.242 MB / 1.045 GB Notification: Performance of SimCode: time 6.71e-07/0.4097, allocations: 0 / 1.359 GB, free: 1.242 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02568/0.4354, allocations: 4.373 MB / 1.363 GB, free: 13.07 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.23, allocations: 9.562 kB / 1.363 GB, free: 13.06 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: 19.05222914298065] Failed to read output from testmodel.py, exit status != 0: 12.399434754042886 12.42383345 12.027124787 Calling exit ...