Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001947/0.001947, allocations: 101.5 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.002575/0.002575, allocations: 217.4 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.28/3.28, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_latest_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.001958/0.001958, allocations: 79.73 kB / 1.171 GB, free: 19.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4044, allocations: 179 MB / 1.345 GB, free: 500 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002526/0.407, allocations: 0.7339 MB / 1.346 GB, free: 15.75 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002756/0.4097, allocations: 1.63 MB / 1.348 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.12e-05/0.4098, allocations: 0 / 1.348 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.83e-05/0.4098, allocations: 11.88 kB / 1.348 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002068/0.41, allocations: 23.78 kB / 1.348 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004842/0.4105, allocations: 163.4 kB / 1.348 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.4108, allocations: 119.7 kB / 1.348 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.4109, allocations: 12.27 kB / 1.348 GB, free: 13.78 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.4111, allocations: 55.84 kB / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.4112, allocations: 47.83 kB / 1.348 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.4112, allocations: 19.94 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002431/0.4114, allocations: 119.9 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.612e-05/0.4115, allocations: 27.95 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.713e-05/0.4115, allocations: 47.8 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.4119, allocations: 227.2 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.4119, allocations: 0 / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.223e-06/0.4119, allocations: 0 / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.4119, allocations: 0 / 1.348 GB, free: 13.25 MB / 1.045 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.0007606/0.4127, allocations: 361.6 kB / 1.349 GB, free: 12.86 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.4127, allocations: 12.03 kB / 1.349 GB, free: 12.85 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.445e-05/0.4127, allocations: 192 / 1.349 GB, free: 12.85 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.171e-05/0.4128, allocations: 38.75 kB / 1.349 GB, free: 12.8 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003385/0.4131, allocations: 28.81 kB / 1.349 GB, free: 12.78 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.4133, allocations: 118.4 kB / 1.349 GB, free: 12.64 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.343e-05/0.4134, allocations: 63.97 kB / 1.349 GB, free: 12.56 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.4134, allocations: 12.12 kB / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.4136, allocations: 97.47 kB / 1.349 GB, free: 12.44 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.4136, allocations: 7.922 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.4136, allocations: 4 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.4136, allocations: 0 / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.4137, allocations: 47.97 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000711/0.4144, allocations: 0.4883 MB / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005084/0.4149, allocations: 131.7 kB / 1.35 GB, free: 11.69 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.805e-05/0.415, allocations: 42.66 kB / 1.35 GB, free: 11.64 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.4151, allocations: 7.938 kB / 1.35 GB, free: 11.63 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000296/0.4153, allocations: 113.9 kB / 1.35 GB, free: 11.5 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.4153, allocations: 0 / 1.35 GB, free: 11.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0003523/0.4157, allocations: 141.7 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.562e-05/0.4158, allocations: 114.7 kB / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.4159, allocations: 126.1 kB / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.4159, allocations: 33.7 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.512e-05/0.416, allocations: 100.5 kB / 1.35 GB, free: 10.94 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.4161, allocations: 31.81 kB / 1.35 GB, free: 10.91 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.68e-05/0.4161, allocations: 33.7 kB / 1.351 GB, free: 10.87 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.4163, allocations: 326.8 kB / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.56e-05/0.4164, allocations: 31.98 kB / 1.351 GB, free: 10.51 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.652e-05/0.4165, allocations: 35.98 kB / 1.351 GB, free: 10.47 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.4166, allocations: 80.77 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.4166, allocations: 4 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002712/0.4169, allocations: 128.2 kB / 1.351 GB, free: 10.26 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.4169, allocations: 4 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4169, allocations: 3.938 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.4169, allocations: 4 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.4171, allocations: 15.98 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.4171, allocations: 4 kB / 1.351 GB, free: 10.23 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.567e-05/0.4172, allocations: 27.75 kB / 1.351 GB, free: 10.2 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.4172, allocations: 4 kB / 1.351 GB, free: 10.2 MB / 1.045 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.0001228/0.4173, allocations: 123.7 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.4174, allocations: 11.94 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002443/0.4176, allocations: 110.1 kB / 1.351 GB, free: 9.941 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.4176, allocations: 4 kB / 1.351 GB, free: 9.938 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4176, allocations: 0 / 1.351 GB, free: 9.938 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.4176, allocations: 7.922 kB / 1.351 GB, free: 9.93 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.4178, allocations: 196.6 kB / 1.352 GB, free: 9.695 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4178, allocations: 3.938 kB / 1.352 GB, free: 9.691 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.015e-05/0.4179, allocations: 20 kB / 1.352 GB, free: 9.672 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4179, allocations: 0 / 1.352 GB, free: 9.672 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.4179, allocations: 7.984 kB / 1.352 GB, free: 9.664 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4179, allocations: 4 kB / 1.352 GB, free: 9.66 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4179, allocations: 0 / 1.352 GB, free: 9.66 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.4182, allocations: 174.7 kB / 1.352 GB, free: 9.465 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.4183, allocations: 27.86 kB / 1.352 GB, free: 9.438 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.4183, allocations: 4.125 kB / 1.352 GB, free: 9.434 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.504e-05/0.4184, allocations: 12 kB / 1.352 GB, free: 9.422 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.4184, allocations: 19.91 kB / 1.352 GB, free: 9.402 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.4184, allocations: 4 kB / 1.352 GB, free: 9.398 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.414e-05/0.4185, allocations: 101.9 kB / 1.352 GB, free: 9.301 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4185, allocations: 0 / 1.352 GB, free: 9.301 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003192/0.4188, allocations: 71.69 kB / 1.352 GB, free: 9.23 MB / 1.045 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.0007903/0.4196, allocations: 0.7778 MB / 1.353 GB, free: 8.418 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002471/0.4199, allocations: 93.44 kB / 1.353 GB, free: 8.328 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4199, allocations: 0 / 1.353 GB, free: 8.328 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.85e-05/0.42, allocations: 51.92 kB / 1.353 GB, free: 8.277 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.4202, allocations: 19.81 kB / 1.353 GB, free: 8.258 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.4222, allocations: 1.547 MB / 1.354 GB, free: 6.613 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.4226, allocations: 0.7039 MB / 1.355 GB, free: 5.883 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 7.779e-05/0.4227, allocations: 16.61 kB / 1.355 GB, free: 5.863 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.827e-05/0.4227, allocations: 31.42 kB / 1.355 GB, free: 5.832 MB / 1.045 GB Notification: Performance of SimCode: time 6.01e-07/0.4227, allocations: 0 / 1.355 GB, free: 5.832 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.448, allocations: 3.416 MB / 1.359 GB, free: 2.562 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.98, allocations: 7.906 kB / 1.359 GB, free: 2.559 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --stepSize=241.92 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.872134020959493] Failed to read output from testmodel.py, exit status != 0: 12.148286702984478 12.177327393 11.760016028 Calling exit ...