Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.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.001945/0.001945, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.002473/0.002473, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.591/1.591, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.892/2.892, allocations: 476.7 MB / 0.7678 GB, free: 9.441 MB / 0.6075 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.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",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.002263/0.002263, allocations: 67.84 kB / 1.113 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9981/1, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002075/1.002, allocations: 0.7254 MB / 1.28 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002734/1.005, allocations: 1.635 MB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.157e-05/1.005, allocations: 0 / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.711e-05/1.005, allocations: 6.312 kB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001836/1.005, allocations: 24.83 kB / 1.281 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005042/1.006, allocations: 163.4 kB / 1.281 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001743/1.006, allocations: 115.3 kB / 1.282 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/1.006, allocations: 15.92 kB / 1.282 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/1.006, allocations: 58.14 kB / 1.282 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/1.006, allocations: 51.5 kB / 1.282 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/1.007, allocations: 11.12 kB / 1.282 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002898/1.007, allocations: 121 kB / 1.282 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.899e-05/1.007, allocations: 25.61 kB / 1.282 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.543e-05/1.007, allocations: 52.69 kB / 1.282 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004552/1.007, allocations: 214.2 kB / 1.282 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.007, allocations: 1.297 kB / 1.282 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.134e-06/1.007, allocations: 0.5 kB / 1.282 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.011e-06/1.007, allocations: 4 kB / 1.282 GB, free: 9.715 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008464/1.008, allocations: 432.3 kB / 1.282 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/1.008, allocations: 10.59 kB / 1.282 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.492e-05/1.008, allocations: 2.234 kB / 1.282 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.983e-05/1.008, allocations: 42.27 kB / 1.283 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003319/1.009, allocations: 34.22 kB / 1.283 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/1.009, allocations: 181.4 kB / 1.283 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.347e-05/1.009, allocations: 36.5 kB / 1.283 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/1.009, allocations: 9.125 kB / 1.283 GB, free: 9 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/1.009, allocations: 99.5 kB / 1.283 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/1.009, allocations: 0 / 1.283 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/1.009, allocations: 10.34 kB / 1.283 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/1.009, allocations: 1.344 kB / 1.283 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/1.009, allocations: 41.52 kB / 1.283 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007143/1.01, allocations: 0.5202 MB / 1.283 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005112/1.011, allocations: 135.2 kB / 1.284 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.108e-05/1.011, allocations: 46.97 kB / 1.284 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/1.011, allocations: 9.906 kB / 1.284 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002662/1.011, allocations: 119.6 kB / 1.284 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/1.011, allocations: 0 / 1.284 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0003529/1.011, allocations: 140.4 kB / 1.284 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.882e-05/1.011, allocations: 115.2 kB / 1.284 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/1.011, allocations: 128.9 kB / 1.284 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/1.011, allocations: 27.11 kB / 1.284 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.299e-05/1.012, allocations: 92.62 kB / 1.284 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/1.012, allocations: 34.69 kB / 1.284 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.365e-05/1.012, allocations: 33.03 kB / 1.284 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.012, allocations: 320.1 kB / 1.285 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/1.012, allocations: 38.52 kB / 1.285 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.962e-05/1.012, allocations: 35.77 kB / 1.285 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/1.012, allocations: 73.97 kB / 1.285 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.012, allocations: 0 / 1.285 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002666/1.012, allocations: 138.7 kB / 1.285 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/1.012, allocations: 5.031 kB / 1.285 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/1.012, allocations: 1.469 kB / 1.285 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/1.012, allocations: 0 / 1.285 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/1.013, allocations: 19 kB / 1.285 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/1.013, allocations: 2.016 kB / 1.285 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.125e-05/1.013, allocations: 18.12 kB / 1.285 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/1.013, allocations: 8.609 kB / 1.285 GB, free: 7.211 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (dayCon.not1.y,dayCon.sunRiseSet.nextSunSet,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunRise,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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.0001054/1.013, allocations: 119.9 kB / 1.285 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/1.013, allocations: 16.73 kB / 1.285 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/1.013, allocations: 109.7 kB / 1.285 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/1.013, allocations: 6.562 kB / 1.285 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/1.013, allocations: 5.312 kB / 1.285 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/1.013, allocations: 6.328 kB / 1.285 GB, free: 7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/1.013, allocations: 217.3 kB / 1.285 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/1.013, allocations: 1.344 kB / 1.285 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.28e-05/1.013, allocations: 21.38 kB / 1.285 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/1.013, allocations: 5.297 kB / 1.285 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/1.013, allocations: 7.594 kB / 1.285 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/1.013, allocations: 2.031 kB / 1.285 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/1.013, allocations: 5.344 kB / 1.285 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/1.014, allocations: 178.2 kB / 1.286 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.525e-05/1.014, allocations: 98.06 kB / 1.286 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/1.014, allocations: 6.75 kB / 1.286 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.383e-05/1.014, allocations: 9.547 kB / 1.286 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/1.014, allocations: 14.11 kB / 1.286 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/1.014, allocations: 5.078 kB / 1.286 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.032e-05/1.014, allocations: 104.5 kB / 1.286 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.014, allocations: 0 / 1.286 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003308/1.014, allocations: 67.8 kB / 1.286 GB, free: 6.418 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y) * Number of discrete states: 2 (dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007307/1.015, allocations: 0.783 MB / 1.287 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002542/1.015, allocations: 90.48 kB / 1.287 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/1.015, allocations: 0 / 1.287 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/1.015, allocations: 48.39 kB / 1.287 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/1.016, allocations: 24.3 kB / 1.287 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/1.018, allocations: 1.565 MB / 1.288 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/1.018, allocations: 0.6994 MB / 1.289 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.818e-05/1.018, allocations: 13.8 kB / 1.289 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.942e-05/1.018, allocations: 38.64 kB / 1.289 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/1.018, allocations: 0 / 1.289 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02093/1.039, allocations: 3.262 MB / 1.292 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.539/9.577, allocations: 16.09 kB / 1.292 GB, free: 3.105 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.071876346017234] Failed to read output from testmodel.py, exit status != 0: 9.705414584022947 9.722120167 8.711345047 Calling exit ...