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.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.001827/0.001827, allocations: 98.08 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.002369/0.002369, allocations: 217.2 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.822/2.822, allocations: 476.7 MB / 0.7715 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_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.002145/0.002145, allocations: 65.84 kB / 1.118 GB, free: 40.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3621, allocations: 169.9 MB / 1.284 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002259/0.3644, allocations: 0.8919 MB / 1.285 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001696/0.3661, allocations: 1.199 MB / 1.286 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.429e-05/0.3661, allocations: 0 / 1.286 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.008e-05/0.3662, allocations: 7.875 kB / 1.286 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.902e-05/0.3662, allocations: 15.86 kB / 1.286 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000508/0.3668, allocations: 153.9 kB / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.367, allocations: 147.7 kB / 1.287 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.3671, allocations: 37.75 kB / 1.287 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.3673, allocations: 63.83 kB / 1.287 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.3674, allocations: 59.81 kB / 1.287 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.3674, allocations: 16 kB / 1.287 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.414e-05/0.3675, allocations: 31.92 kB / 1.287 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.313e-05/0.3675, allocations: 27.84 kB / 1.287 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.402e-05/0.3676, allocations: 63.72 kB / 1.287 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.3679, allocations: 171.7 kB / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3679, allocations: 0 / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.515e-06/0.3679, allocations: 4 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.3679, allocations: 0 / 1.287 GB, free: 8.84 MB / 0.9825 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.0006775/0.3686, allocations: 369.3 kB / 1.287 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3686, allocations: 15.97 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.468e-05/0.3686, allocations: 4.188 kB / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.055e-05/0.3687, allocations: 46.67 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.191e-05/0.3687, allocations: 16.84 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004602/0.3692, allocations: 167.8 kB / 1.288 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.3692, allocations: 12.38 kB / 1.288 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.3692, allocations: 8.375 kB / 1.288 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.3695, allocations: 101.5 kB / 1.288 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.3695, allocations: 0 / 1.288 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.3695, allocations: 4 kB / 1.288 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.3695, allocations: 4 kB / 1.288 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002248/0.3697, allocations: 63.95 kB / 1.288 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005955/0.3703, allocations: 371.5 kB / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.3705, allocations: 58.55 kB / 1.288 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.3706, allocations: 32.97 kB / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.3707, allocations: 0 / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000303/0.371, allocations: 95.23 kB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.371, allocations: 0 / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.000474/0.3714, allocations: 129.8 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.3715, allocations: 55.41 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.3716, allocations: 133.8 kB / 1.289 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.3717, allocations: 29.7 kB / 1.289 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.296e-05/0.3717, allocations: 104 kB / 1.289 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.3718, allocations: 27.78 kB / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.131e-05/0.3719, allocations: 37.66 kB / 1.289 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.372, allocations: 326.8 kB / 1.289 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.3722, allocations: 43.97 kB / 1.289 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.3724, allocations: 79.33 kB / 1.289 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/0.3727, allocations: 137.1 kB / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.3727, allocations: 4 kB / 1.289 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004685/0.3731, allocations: 195.2 kB / 1.29 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.18e-05/0.3732, allocations: 33.64 kB / 1.29 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.3732, allocations: 4 kB / 1.29 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3732, allocations: 8.031 kB / 1.29 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.3733, allocations: 19.92 kB / 1.29 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.3733, allocations: 0 / 1.29 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.3735, allocations: 31.95 kB / 1.29 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.3735, allocations: 12 kB / 1.29 GB, free: 5.875 MB / 0.9825 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.0001195/0.3737, allocations: 117.8 kB / 1.29 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.3737, allocations: 11.89 kB / 1.29 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.216e-05/0.3737, allocations: 16.36 kB / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.3737, allocations: 0 / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3737, allocations: 0 / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.3737, allocations: 0 / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.3739, allocations: 180.6 kB / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3739, allocations: 0 / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.12e-05/0.374, allocations: 19.91 kB / 1.29 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.374, allocations: 3.938 kB / 1.29 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.374, allocations: 4 kB / 1.29 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.374, allocations: 0 / 1.29 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.374, allocations: 4 kB / 1.29 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003102/0.3743, allocations: 129 kB / 1.29 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.673e-05/0.3744, allocations: 7.891 kB / 1.29 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.3744, allocations: 8 kB / 1.29 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.408e-05/0.3744, allocations: 0 / 1.29 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.3745, allocations: 11.98 kB / 1.29 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.3745, allocations: 4 kB / 1.29 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.271e-05/0.3746, allocations: 102.4 kB / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3746, allocations: 3.938 kB / 1.29 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002681/0.3748, allocations: 27.94 kB / 1.29 GB, free: 5.16 MB / 0.9825 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.0007245/0.3756, allocations: 0.6869 MB / 1.291 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004055/0.376, allocations: 147.3 kB / 1.291 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.376, allocations: 0 / 1.291 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.3761, allocations: 43.91 kB / 1.291 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.3763, allocations: 26.52 kB / 1.291 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.3787, allocations: 1.645 MB / 1.293 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.3791, allocations: 0.6967 MB / 1.293 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.271e-05/0.3791, allocations: 16.42 kB / 1.293 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.732e-05/0.3792, allocations: 31.42 kB / 1.293 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of SimCode: time 7.71e-07/0.3792, allocations: 0 / 1.293 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.4044, allocations: 3.006 MB / 1.296 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.06, allocations: 9.062 kB / 1.296 GB, free: 14.89 MB / 0.9981 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 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: 19.107679072010797] Failed to read output from testmodel.py, exit status != 0: 12.891784251027275 12.241877576 11.869739463 Calling exit ...