Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.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.001508/0.001508, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001613/0.001613, allocations: 216.1 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.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.457/3.457, allocations: 0.5003 GB / 0.8061 GB, free: 26.8 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.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan",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.002049/0.002049, allocations: 64.58 kB / 1.171 GB, free: 19.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4613/0.4633, allocations: 179 MB / 1.345 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002656/0.466, allocations: 0.8909 MB / 1.346 GB, free: 15.62 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001926/0.4679, allocations: 1.205 MB / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.538e-05/0.468, allocations: 0 / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.144e-05/0.468, allocations: 11.88 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.055e-05/0.4681, allocations: 11.88 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005766/0.4687, allocations: 150.9 kB / 1.348 GB, free: 14.23 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.469, allocations: 159.7 kB / 1.348 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.4691, allocations: 33.75 kB / 1.348 GB, free: 14.04 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.4692, allocations: 63.83 kB / 1.348 GB, free: 13.97 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.4694, allocations: 59.75 kB / 1.348 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.513e-05/0.4694, allocations: 16 kB / 1.348 GB, free: 13.9 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.063e-05/0.4695, allocations: 27.98 kB / 1.348 GB, free: 13.87 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.015e-05/0.4695, allocations: 27.86 kB / 1.348 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.607e-05/0.4696, allocations: 63.7 kB / 1.348 GB, free: 13.78 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.4699, allocations: 171.6 kB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.4699, allocations: 4 kB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4699, allocations: 0 / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.4699, allocations: 0 / 1.348 GB, free: 13.61 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007577/0.4707, allocations: 371.6 kB / 1.349 GB, free: 13.21 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.4708, allocations: 8.031 kB / 1.349 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.678e-05/0.4708, allocations: 8.141 kB / 1.349 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.257e-05/0.4708, allocations: 34.75 kB / 1.349 GB, free: 13.15 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.512e-05/0.4709, allocations: 12.89 kB / 1.349 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004922/0.4714, allocations: 178.5 kB / 1.349 GB, free: 12.94 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.4714, allocations: 8.375 kB / 1.349 GB, free: 12.93 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.4715, allocations: 16.36 kB / 1.349 GB, free: 12.92 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.4717, allocations: 90.62 kB / 1.349 GB, free: 12.82 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.4717, allocations: 0 / 1.349 GB, free: 12.82 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.4717, allocations: 11.94 kB / 1.349 GB, free: 12.81 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.4717, allocations: 4 kB / 1.349 GB, free: 12.81 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002257/0.472, allocations: 67.89 kB / 1.349 GB, free: 12.74 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006458/0.4726, allocations: 355.6 kB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.4728, allocations: 70.48 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.473, allocations: 32.95 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.473, allocations: 4 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002955/0.4733, allocations: 83.3 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 3.627e-06/0.4733, allocations: 3.984 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0004823/0.4738, allocations: 141.7 kB / 1.35 GB, free: 11.99 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.4738, allocations: 51.41 kB / 1.35 GB, free: 11.93 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.4739, allocations: 133.8 kB / 1.35 GB, free: 11.79 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/0.474, allocations: 29.7 kB / 1.35 GB, free: 11.75 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.588e-05/0.4741, allocations: 108 kB / 1.35 GB, free: 11.64 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.4741, allocations: 31.77 kB / 1.35 GB, free: 11.61 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.857e-05/0.4742, allocations: 33.7 kB / 1.35 GB, free: 11.57 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.4744, allocations: 322.8 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.4745, allocations: 47.97 kB / 1.35 GB, free: 11.2 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.4747, allocations: 75.39 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.475, allocations: 133.1 kB / 1.351 GB, free: 10.97 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.475, allocations: 4 kB / 1.351 GB, free: 10.96 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004448/0.4754, allocations: 195.2 kB / 1.351 GB, free: 10.76 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.373e-05/0.4755, allocations: 41.62 kB / 1.351 GB, free: 10.71 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.4755, allocations: 4.094 kB / 1.351 GB, free: 10.71 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.4755, allocations: 4 kB / 1.351 GB, free: 10.71 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.4756, allocations: 11.98 kB / 1.351 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.4756, allocations: 7.938 kB / 1.351 GB, free: 10.69 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.4758, allocations: 31.97 kB / 1.351 GB, free: 10.66 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/0.4759, allocations: 7.984 kB / 1.351 GB, free: 10.65 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: 4 ($whenCondition1,$whenCondition2,fanStatus.y,$PRE.fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.0001415/0.476, allocations: 125.8 kB / 1.351 GB, free: 10.52 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.892e-05/0.476, allocations: 11.89 kB / 1.351 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.939e-05/0.4761, allocations: 8.375 kB / 1.351 GB, free: 10.49 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.4761, allocations: 4 kB / 1.351 GB, free: 10.49 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4761, allocations: 3.938 kB / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.4761, allocations: 3.984 kB / 1.351 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.4763, allocations: 168.6 kB / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4763, allocations: 0 / 1.351 GB, free: 10.27 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.74e-05/0.4764, allocations: 15.98 kB / 1.351 GB, free: 10.26 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.4764, allocations: 3.938 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.4764, allocations: 4 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.4764, allocations: 0 / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.4764, allocations: 3.984 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.4767, allocations: 133 kB / 1.351 GB, free: 10.1 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.287e-05/0.4767, allocations: 15.89 kB / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.4767, allocations: 0 / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.945e-05/0.4768, allocations: 11.98 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.4768, allocations: 3.984 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.4769, allocations: 8 kB / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.693e-05/0.4769, allocations: 97.8 kB / 1.351 GB, free: 9.965 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4769, allocations: 0 / 1.351 GB, free: 9.965 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002349/0.4772, allocations: 31.94 kB / 1.351 GB, free: 9.934 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: 3 ($whenCondition1,$whenCondition2,fanStatus.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000702/0.4779, allocations: 0.6747 MB / 1.352 GB, free: 9.23 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003976/0.4783, allocations: 155.8 kB / 1.352 GB, free: 9.066 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4783, allocations: 0 / 1.352 GB, free: 9.066 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.4784, allocations: 36.16 kB / 1.352 GB, free: 9.031 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.4786, allocations: 31.12 kB / 1.352 GB, free: 9.004 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.481, allocations: 1.633 MB / 1.354 GB, free: 7.266 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.4815, allocations: 0.6963 MB / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.076e-05/0.4815, allocations: 16.42 kB / 1.355 GB, free: 6.527 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.195e-05/0.4816, allocations: 27.44 kB / 1.355 GB, free: 6.5 MB / 1.045 GB Notification: Performance of SimCode: time 1.042e-06/0.4816, allocations: 3.938 kB / 1.355 GB, free: 6.496 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02598/0.5076, allocations: 3.011 MB / 1.358 GB, free: 3.672 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.35, allocations: 1.719 kB / 1.358 GB, free: 3.672 MB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.67228796798736] Failed to read output from testmodel.py, exit status != 0: 12.516316491004545 12.535488007 12.062006902 Calling exit ...