Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 114.7 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002675/0.002675, allocations: 186 kB / 20.78 MB, free: 1.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.607/1.607, allocations: 225.6 MB / 249.4 MB, free: 3.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.017/3.017, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 67.89 kB / 1.107 GB, free: 5.047 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104/1.106, allocations: 168.7 MB / 1.272 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002148/1.108, allocations: 0.8911 MB / 1.272 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001454/1.11, allocations: 1.166 MB / 1.274 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.155e-05/1.11, allocations: 1.625 kB / 1.274 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.822e-05/1.11, allocations: 10.17 kB / 1.274 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.323e-05/1.11, allocations: 20.03 kB / 1.274 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005289/1.11, allocations: 155.6 kB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002409/1.111, allocations: 149.7 kB / 1.274 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/1.111, allocations: 42.16 kB / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/1.111, allocations: 68.62 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/1.111, allocations: 59.89 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.388e-05/1.111, allocations: 14.84 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.052e-05/1.111, allocations: 28.28 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.035e-05/1.111, allocations: 22.67 kB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.311e-05/1.111, allocations: 64.55 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002389/1.112, allocations: 167.5 kB / 1.274 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.112, allocations: 1.062 kB / 1.274 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.402e-06/1.112, allocations: 0 / 1.274 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.982e-06/1.112, allocations: 7.875 kB / 1.274 GB, free: 5.891 MB / 0.9981 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.0006095/1.112, allocations: 446.6 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/1.112, allocations: 10.36 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.704e-05/1.112, allocations: 39.27 kB / 1.275 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.338e-05/1.112, allocations: 13.05 kB / 1.275 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000414/1.113, allocations: 231.9 kB / 1.275 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/1.113, allocations: 10.12 kB / 1.275 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/1.113, allocations: 13.53 kB / 1.275 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/1.113, allocations: 103.1 kB / 1.275 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/1.113, allocations: 4 kB / 1.275 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/1.113, allocations: 4.688 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/1.113, allocations: 2.312 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/1.113, allocations: 66.98 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004662/1.114, allocations: 392.6 kB / 1.276 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/1.114, allocations: 58.69 kB / 1.276 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/1.114, allocations: 32.3 kB / 1.276 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/1.114, allocations: 5.25 kB / 1.276 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002295/1.114, allocations: 92.22 kB / 1.276 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/1.114, allocations: 0 / 1.276 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0004316/1.115, allocations: 134.7 kB / 1.276 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/1.115, allocations: 53.39 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.606e-05/1.115, allocations: 139.8 kB / 1.276 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/1.115, allocations: 28.48 kB / 1.276 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.622e-05/1.115, allocations: 111 kB / 1.276 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/1.115, allocations: 22.75 kB / 1.276 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.379e-05/1.115, allocations: 38.98 kB / 1.276 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.822e-05/1.115, allocations: 323 kB / 1.277 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/1.115, allocations: 44.55 kB / 1.277 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/1.115, allocations: 79.06 kB / 1.277 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/1.116, allocations: 134.8 kB / 1.277 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/1.116, allocations: 4.094 kB / 1.277 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004179/1.116, allocations: 194.9 kB / 1.277 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/1.116, allocations: 39.02 kB / 1.277 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/1.116, allocations: 0.6562 kB / 1.277 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/1.116, allocations: 2.094 kB / 1.277 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/1.116, allocations: 20.59 kB / 1.277 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/1.116, allocations: 1.281 kB / 1.277 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/1.116, allocations: 41.73 kB / 1.277 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/1.116, allocations: 7.516 kB / 1.277 GB, free: 3.609 MB / 0.9981 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 7.379e-05/1.117, allocations: 121.5 kB / 1.277 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/1.117, allocations: 12.81 kB / 1.277 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.192e-05/1.117, allocations: 10.94 kB / 1.277 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/1.117, allocations: 4.812 kB / 1.277 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/1.117, allocations: 5 kB / 1.277 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.117, allocations: 1.266 kB / 1.277 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/1.117, allocations: 192.9 kB / 1.277 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/1.117, allocations: 0.9375 kB / 1.277 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.838e-05/1.117, allocations: 12.53 kB / 1.278 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/1.117, allocations: 5.859 kB / 1.278 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/1.117, allocations: 5.438 kB / 1.278 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/1.117, allocations: 0 / 1.278 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.117, allocations: 0.6562 kB / 1.278 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/1.117, allocations: 137.9 kB / 1.278 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.613e-05/1.117, allocations: 89.34 kB / 1.278 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/1.117, allocations: 8.844 kB / 1.278 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.542e-05/1.117, allocations: 6.156 kB / 1.278 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/1.117, allocations: 10.95 kB / 1.278 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/1.117, allocations: 5.719 kB / 1.278 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.576e-05/1.117, allocations: 94.38 kB / 1.278 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/1.117, allocations: 4.812 kB / 1.278 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00023/1.117, allocations: 30.39 kB / 1.278 GB, free: 2.945 MB / 0.9981 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.0004939/1.118, allocations: 0.6659 MB / 1.279 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003705/1.118, allocations: 166.2 kB / 1.279 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/1.118, allocations: 0 / 1.279 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/1.118, allocations: 35.61 kB / 1.279 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/1.119, allocations: 28.03 kB / 1.279 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/1.121, allocations: 1.646 MB / 1.28 GB, free: 16.86 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/1.121, allocations: 0.7054 MB / 1.281 GB, free: 16.16 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.966e-05/1.121, allocations: 5.938 kB / 1.281 GB, free: 16.16 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.169e-05/1.121, allocations: 36.25 kB / 1.281 GB, free: 16.13 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/1.121, allocations: 0.9062 kB / 1.281 GB, free: 16.13 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03007/1.151, allocations: 2.829 MB / 1.284 GB, free: 15.68 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.707/9.858, allocations: 3.812 kB / 1.284 GB, free: 15.68 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.fmu > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.426701021002373] Failed to read output from testmodel.py, exit status != 0: 9.92679213397787 9.942341952 8.827604467 Calling exit ...