Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.001307/0.001307, allocations: 100.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.001568/0.001568, allocations: 223.6 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.492/1.492, 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.228/3.228, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 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.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_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.001993/0.001993, allocations: 70.86 kB / 1.171 GB, free: 19.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3599, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow): time 0.002427/0.3623, allocations: 0.9729 MB / 1.346 GB, free: 15.01 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.3636, allocations: 1.007 MB / 1.347 GB, free: 13.99 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.977e-05/0.3637, allocations: 4 kB / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.365e-05/0.3637, allocations: 15.8 kB / 1.347 GB, free: 13.97 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.3638, allocations: 31.67 kB / 1.347 GB, free: 13.94 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.364, allocations: 75.86 kB / 1.347 GB, free: 13.86 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.3642, allocations: 160.1 kB / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.3644, allocations: 64.59 kB / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.3646, allocations: 83.7 kB / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.3647, allocations: 71.62 kB / 1.348 GB, free: 13.49 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.272e-05/0.3648, allocations: 16 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.502e-05/0.3648, allocations: 24 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.225e-05/0.3649, allocations: 39.89 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.351e-05/0.3649, allocations: 55.67 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.3652, allocations: 219 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3652, allocations: 4 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3652, allocations: 0 / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.3652, allocations: 0 / 1.348 GB, free: 13.14 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0007321/0.366, allocations: 377.6 kB / 1.348 GB, free: 12.73 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.366, allocations: 12.03 kB / 1.348 GB, free: 12.72 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.165e-05/0.366, allocations: 4.188 kB / 1.348 GB, free: 12.72 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.85e-05/0.3661, allocations: 50.73 kB / 1.348 GB, free: 12.66 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.3663, allocations: 20.84 kB / 1.349 GB, free: 12.64 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00045/0.3667, allocations: 198.2 kB / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.3667, allocations: 12.38 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.3668, allocations: 12.38 kB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003777/0.3671, allocations: 153.7 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3671, allocations: 0 / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.3672, allocations: 8 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.3672, allocations: 4 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000348/0.3675, allocations: 119.9 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007061/0.3682, allocations: 419.4 kB / 1.349 GB, free: 11.66 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003264/0.3686, allocations: 114.6 kB / 1.35 GB, free: 11.54 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.3687, allocations: 44.83 kB / 1.35 GB, free: 11.49 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.3687, allocations: 4 kB / 1.35 GB, free: 11.49 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.3688, allocations: 38.55 kB / 1.35 GB, free: 11.44 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.3688, allocations: 4 kB / 1.35 GB, free: 11.44 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0005691/0.3693, allocations: 177.3 kB / 1.35 GB, free: 11.26 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.3694, allocations: 55.41 kB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.3695, allocations: 160.2 kB / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.3696, allocations: 25.7 kB / 1.35 GB, free: 10.99 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.942e-05/0.3697, allocations: 124.3 kB / 1.35 GB, free: 10.86 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.3697, allocations: 35.69 kB / 1.35 GB, free: 10.83 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.84e-05/0.3698, allocations: 41.7 kB / 1.35 GB, free: 10.78 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3699, allocations: 326.8 kB / 1.35 GB, free: 10.45 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.37, allocations: 47.95 kB / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.3702, allocations: 71.34 kB / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/0.3705, allocations: 111.3 kB / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3705, allocations: 3.938 kB / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003574/0.3709, allocations: 145.5 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3709, allocations: 8 kB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3709, allocations: 0 / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.3709, allocations: 4 kB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.3711, allocations: 36 kB / 1.351 GB, free: 10 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3711, allocations: 4 kB / 1.351 GB, free: 10 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.653e-05/0.3712, allocations: 15.94 kB / 1.351 GB, free: 9.984 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.3712, allocations: 4 kB / 1.351 GB, free: 9.98 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (reaToInt2.y,actAirSet.or2.y,actAirSet.ifSetUp.y,actAirSet.ifCooDow.y,actAirSet.ifOcc.y,actAirSet.or3.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 (15): * Single equations (assignments): 15 * 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.0001296/0.3713, allocations: 143.3 kB / 1.351 GB, free: 9.832 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.3713, allocations: 7.953 kB / 1.351 GB, free: 9.824 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.52e-05/0.3714, allocations: 20.7 kB / 1.351 GB, free: 9.801 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3714, allocations: 0 / 1.351 GB, free: 9.801 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-06/0.3714, allocations: 0 / 1.351 GB, free: 9.801 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3714, allocations: 4 kB / 1.351 GB, free: 9.797 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.3717, allocations: 200.5 kB / 1.351 GB, free: 9.559 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3717, allocations: 0 / 1.351 GB, free: 9.559 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.3718, allocations: 23.92 kB / 1.351 GB, free: 9.535 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.3718, allocations: 4 kB / 1.351 GB, free: 9.531 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.3718, allocations: 0 / 1.351 GB, free: 9.531 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3718, allocations: 0 / 1.351 GB, free: 9.531 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3718, allocations: 0 / 1.351 GB, free: 9.531 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004084/0.3722, allocations: 239.3 kB / 1.352 GB, free: 9.281 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.056e-05/0.3722, allocations: 11.89 kB / 1.352 GB, free: 9.27 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.3722, allocations: 4 kB / 1.352 GB, free: 9.266 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.3724, allocations: 8 kB / 1.352 GB, free: 9.258 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.785e-05/0.3724, allocations: 15.97 kB / 1.352 GB, free: 9.242 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.3724, allocations: 4 kB / 1.352 GB, free: 9.238 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.421e-05/0.3725, allocations: 112.9 kB / 1.352 GB, free: 9.129 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3725, allocations: 0 / 1.352 GB, free: 9.129 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002558/0.3728, allocations: 31.89 kB / 1.352 GB, free: 9.098 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: 6 (actAirSet.or3.y,actAirSet.ifOcc.y,actAirSet.ifCooDow.y,actAirSet.ifSetUp.y,actAirSet.or2.y,reaToInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0008193/0.3736, allocations: 0.773 MB / 1.352 GB, free: 8.301 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003716/0.374, allocations: 115.8 kB / 1.353 GB, free: 8.188 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.374, allocations: 3.938 kB / 1.353 GB, free: 8.184 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.3741, allocations: 60.14 kB / 1.353 GB, free: 8.125 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.3745, allocations: 16.95 kB / 1.353 GB, free: 8.109 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/0.3769, allocations: 1.745 MB / 1.354 GB, free: 6.262 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.377, allocations: 99.23 kB / 1.354 GB, free: 6.145 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 7.831e-05/0.3771, allocations: 21.08 kB / 1.354 GB, free: 6.125 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.3772, allocations: 47.42 kB / 1.355 GB, free: 6.078 MB / 1.045 GB Notification: Performance of SimCode: time 5.71e-07/0.3772, allocations: 0 / 1.355 GB, free: 6.078 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02441/0.4016, allocations: 2.982 MB / 1.357 GB, free: 3.297 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.88, allocations: 3.938 kB / 1.357 GB, free: 3.293 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_ActiveAirFlow.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.ActiveAirFlow.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.694400695036165] Failed to read output from testmodel.py, exit status != 0: 12.044486157014035 12.062343102 11.693773851 Calling exit ...