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.001808/0.001808, allocations: 98.33 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.00217/0.00217, allocations: 215.6 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.531/1.531, allocations: 230.6 MB / 256.8 MB, free: 7.953 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.223/3.223, allocations: 0.49 GB / 0.7959 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 176] 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.002026/0.002026, allocations: 66.11 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3935, allocations: 176.1 MB / 1.327 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.ReturnFan): time 0.002906/0.3964, allocations: 0.8912 MB / 1.328 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002097/0.3985, allocations: 1.202 MB / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.3986, allocations: 4 kB / 1.329 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.749e-05/0.3987, allocations: 11.86 kB / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.3988, allocations: 15.75 kB / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006241/0.3994, allocations: 151.5 kB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003134/0.3997, allocations: 155.7 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.3999, allocations: 37.7 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.4, allocations: 55.91 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.4002, allocations: 71.72 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.88e-05/0.4002, allocations: 16 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.4003, allocations: 31.98 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.669e-05/0.4004, allocations: 15.94 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.4005, allocations: 63.7 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003324/0.4008, allocations: 175.6 kB / 1.33 GB, free: 15.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4008, allocations: 0 / 1.33 GB, free: 15.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4008, allocations: 0 / 1.33 GB, free: 15.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.4008, allocations: 0 / 1.33 GB, free: 15.02 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.0008123/0.4016, allocations: 367.6 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.4017, allocations: 12.02 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.79e-05/0.4017, allocations: 4.188 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.615e-05/0.4017, allocations: 42.75 kB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.571e-05/0.4018, allocations: 12.84 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004991/0.4023, allocations: 170.5 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.4023, allocations: 12.31 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.758e-05/0.4024, allocations: 16.38 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.4026, allocations: 97.58 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.4027, allocations: 0 / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.4027, allocations: 0 / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.4027, allocations: 0 / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002333/0.4029, allocations: 68.97 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006414/0.4036, allocations: 371.5 kB / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.4038, allocations: 62.48 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.4039, allocations: 32.95 kB / 1.331 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.4039, allocations: 3.938 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003018/0.4042, allocations: 87.31 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.693e-06/0.4042, allocations: 0 / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0004864/0.4047, allocations: 137.7 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.4047, allocations: 55.41 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.4049, allocations: 131.7 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/0.4049, allocations: 33.7 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.83e-05/0.405, allocations: 108 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.405, allocations: 23.75 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-05/0.4051, allocations: 41.69 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.4053, allocations: 318.8 kB / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.4055, allocations: 47.95 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.4057, allocations: 75.39 kB / 1.332 GB, free: 12.53 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.4059, allocations: 129 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4059, allocations: 0 / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004695/0.4064, allocations: 203.1 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.477e-05/0.4065, allocations: 43.66 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.4065, allocations: 0 / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.4065, allocations: 4 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.4066, allocations: 15.98 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.4066, allocations: 0 / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.4068, allocations: 32.06 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.4069, allocations: 19.98 kB / 1.332 GB, free: 12.06 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.0001283/0.407, allocations: 121.7 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.217e-05/0.407, allocations: 15.97 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.98e-05/0.407, allocations: 16.31 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.407, allocations: 0 / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.4071, allocations: 0 / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.4071, allocations: 0 / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.4073, allocations: 172.6 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4073, allocations: 4 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.179e-05/0.4073, allocations: 15.98 kB / 1.333 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.4073, allocations: 3.938 kB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.4074, allocations: 0 / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.4074, allocations: 4 kB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4074, allocations: 0 / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/0.4077, allocations: 141.4 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.329e-05/0.4077, allocations: 11.89 kB / 1.333 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.4077, allocations: 0 / 1.333 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.109e-05/0.4078, allocations: 11.98 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.4078, allocations: 7.984 kB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.4078, allocations: 0 / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.664e-05/0.4079, allocations: 101.1 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4079, allocations: 0 / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002413/0.4081, allocations: 31.89 kB / 1.333 GB, free: 11.34 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.0007086/0.4089, allocations: 0.6826 MB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004295/0.4093, allocations: 155.3 kB / 1.334 GB, free: 10.47 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4093, allocations: 0 / 1.334 GB, free: 10.47 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.4094, allocations: 31.98 kB / 1.334 GB, free: 10.44 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.4097, allocations: 23.97 kB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.4121, allocations: 1.635 MB / 1.335 GB, free: 8.672 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.4125, allocations: 0.7118 MB / 1.336 GB, free: 7.934 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.634e-05/0.4125, allocations: 4.438 kB / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.404e-05/0.4126, allocations: 31.42 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of SimCode: time 1.363e-06/0.4126, allocations: 0 / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02609/0.4387, allocations: 3.012 MB / 1.339 GB, free: 5.078 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.28, allocations: 6.312 kB / 1.339 GB, free: 5.074 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.243966853013262] Failed to read output from testmodel.py, exit status != 0: 12.441942878998816 12.459286195 12.05471545 Calling exit ...