Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001607/0.001607, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002018/0.002018, allocations: 216.3 kB / 23.03 MB, free: 4.922 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.117/3.117, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002137/0.002137, allocations: 64.52 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3772, allocations: 176.1 MB / 1.327 GB, free: 1.652 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002306/0.3795, allocations: 0.8407 MB / 1.327 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001809/0.3813, allocations: 1.19 MB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.61e-05/0.3814, allocations: 0 / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.332e-05/0.3815, allocations: 11.86 kB / 1.329 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.673e-05/0.3816, allocations: 15.88 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005134/0.3821, allocations: 146.2 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.3823, allocations: 155.7 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.3824, allocations: 33.77 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.3826, allocations: 63.81 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.3827, allocations: 63.75 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.25e-05/0.3827, allocations: 20 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.187e-05/0.3828, allocations: 24 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.446e-05/0.3828, allocations: 19.92 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.637e-05/0.3829, allocations: 55.83 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002694/0.3832, allocations: 171.5 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.3832, allocations: 4 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3832, allocations: 0 / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.3832, allocations: 0 / 1.329 GB, free: 14.84 MB / 1.029 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.0007149/0.3839, allocations: 363.6 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.3839, allocations: 16.03 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.622e-05/0.384, allocations: 192 / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.209e-05/0.384, allocations: 46.73 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.291e-05/0.3841, allocations: 16.84 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004709/0.3845, allocations: 174.5 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.3845, allocations: 8.375 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.3846, allocations: 8.375 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.3849, allocations: 99.3 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.3849, allocations: 4 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.3849, allocations: 4 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3849, allocations: 0 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002322/0.3851, allocations: 67.89 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005805/0.3857, allocations: 339.6 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.3859, allocations: 58.55 kB / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.386, allocations: 36.97 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.386, allocations: 4 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002838/0.3863, allocations: 83.3 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 2.014e-06/0.3863, allocations: 0 / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.000471/0.3868, allocations: 141.6 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.3868, allocations: 59.39 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.387, allocations: 131.9 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.387, allocations: 37.62 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.831e-05/0.3871, allocations: 100 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.992e-05/0.3872, allocations: 35.72 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.039e-05/0.3872, allocations: 37.7 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3874, allocations: 322.8 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.3876, allocations: 77.66 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.3878, allocations: 101.1 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.3881, allocations: 133 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3881, allocations: 0 / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005105/0.3886, allocations: 229.2 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.87e-05/0.3886, allocations: 37.73 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3886, allocations: 4 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.3887, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.3888, allocations: 15.98 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.3888, allocations: 8.016 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.389, allocations: 31.97 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.389, allocations: 11.97 kB / 1.332 GB, free: 11.79 MB / 1.029 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.0001574/0.3892, allocations: 124 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.3892, allocations: 15.89 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.065e-05/0.3893, allocations: 8.375 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.3893, allocations: 11.97 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.3893, allocations: 4.094 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3893, allocations: 3.938 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.3895, allocations: 160.7 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3895, allocations: 0 / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.236e-05/0.3896, allocations: 15.98 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3896, allocations: 3.938 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.3896, allocations: 0 / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3896, allocations: 4 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3896, allocations: 3.938 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/0.3899, allocations: 133 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.413e-05/0.3899, allocations: 11.89 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.3899, allocations: 0 / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.995e-05/0.39, allocations: 15.92 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.39, allocations: 7.984 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.3901, allocations: 0 / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.834e-05/0.3901, allocations: 99.27 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3901, allocations: 8 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002391/0.3904, allocations: 27.89 kB / 1.333 GB, free: 11.08 MB / 1.029 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.000728/0.3911, allocations: 0.6787 MB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004229/0.3915, allocations: 189 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3915, allocations: 192 / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.3916, allocations: 35.97 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.3919, allocations: 24.78 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.3944, allocations: 1.763 MB / 1.335 GB, free: 8.215 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.311e-05/0.3945, allocations: 88.17 kB / 1.335 GB, free: 8.109 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.526e-05/0.3945, allocations: 8.625 kB / 1.335 GB, free: 8.098 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.475e-05/0.3946, allocations: 31.42 kB / 1.335 GB, free: 8.07 MB / 1.029 GB Notification: Performance of SimCode: time 6.71e-07/0.3946, allocations: 3.938 kB / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.4194, allocations: 3.141 MB / 1.339 GB, free: 5.145 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.26, allocations: 6.406 kB / 1.339 GB, free: 5.145 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_12_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_12_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_ReturnFan.fmu > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.002066864981316] Failed to read output from testmodel.py, exit status != 0: 12.422406931989826 12.44428077 12.056977482 Calling exit ...