Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001668/0.001668, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002126/0.002126, allocations: 219.6 kB / 23.05 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.602/1.602, allocations: 230.6 MB / 256.8 MB, free: 8 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.192/3.192, allocations: 0.49 GB / 0.7959 GB, free: 33.53 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.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_12_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.002096/0.002096, allocations: 63.62 kB / 1.155 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3984, allocations: 176.1 MB / 1.327 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.003195/0.4016, allocations: 0.7262 MB / 1.327 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003513/0.4051, allocations: 1.634 MB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.4052, allocations: 0 / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.338e-05/0.4053, allocations: 7.875 kB / 1.329 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000335/0.4056, allocations: 19.86 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007221/0.4063, allocations: 163.4 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002881/0.4066, allocations: 127.6 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.4068, allocations: 12.28 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.4071, allocations: 51.91 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.4073, allocations: 55.75 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.641e-05/0.4073, allocations: 12 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003506/0.4076, allocations: 119.9 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.723e-05/0.4077, allocations: 27.97 kB / 1.33 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.4078, allocations: 43.8 kB / 1.33 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005158/0.4083, allocations: 223.1 kB / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.4083, allocations: 0 / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.445e-06/0.4083, allocations: 4 kB / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.4083, allocations: 4 kB / 1.33 GB, free: 14.75 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001026/0.4094, allocations: 357.6 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.567e-05/0.4094, allocations: 12.03 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.637e-05/0.4095, allocations: 4.188 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.994e-05/0.4095, allocations: 46.73 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004046/0.4099, allocations: 20.88 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.4101, allocations: 122.4 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.4102, allocations: 63.97 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.4103, allocations: 16.11 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.4105, allocations: 98.17 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.4105, allocations: 4 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.4105, allocations: 0 / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.4105, allocations: 4 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.4107, allocations: 47.91 kB / 1.331 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008336/0.4115, allocations: 0.4923 MB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005325/0.412, allocations: 135.7 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.576e-05/0.4121, allocations: 42.66 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.4122, allocations: 3.938 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003806/0.4125, allocations: 109.9 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.4125, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0004243/0.413, allocations: 149.6 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.4131, allocations: 110.8 kB / 1.332 GB, free: 12.71 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.4132, allocations: 129.7 kB / 1.332 GB, free: 12.58 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.4133, allocations: 29.7 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.096e-05/0.4133, allocations: 92.38 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.4134, allocations: 35.8 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.198e-05/0.4135, allocations: 37.7 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.4136, allocations: 314.8 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.4137, allocations: 44.02 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.499e-05/0.4138, allocations: 35.98 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.414, allocations: 79.03 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.414, allocations: 0 / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002646/0.4142, allocations: 129.5 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.4143, allocations: 4 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.4143, allocations: 0 / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.4143, allocations: 0 / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.4144, allocations: 23.92 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.4144, allocations: 4 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.512e-05/0.4145, allocations: 23.83 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.4145, allocations: 3.984 kB / 1.332 GB, free: 11.7 MB / 1.029 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.0001334/0.4147, allocations: 126.9 kB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.4147, allocations: 7.953 kB / 1.333 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.415, allocations: 118.1 kB / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.415, allocations: 8 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.415, allocations: 0 / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.415, allocations: 3.938 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.4152, allocations: 192.9 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4152, allocations: 0 / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.478e-05/0.4153, allocations: 23.98 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.4153, allocations: 4 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.4153, allocations: 0 / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.4153, allocations: 4 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4153, allocations: 3.938 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.4156, allocations: 176.5 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.927e-05/0.4157, allocations: 23.88 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.4157, allocations: 4 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.041e-05/0.4158, allocations: 7.984 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.724e-05/0.4159, allocations: 19.92 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.4159, allocations: 8 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.495e-05/0.416, allocations: 99.27 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.416, allocations: 0 / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000317/0.4163, allocations: 67.73 kB / 1.333 GB, free: 10.74 MB / 1.029 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.0008713/0.4171, allocations: 0.7855 MB / 1.334 GB, free: 9.918 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000263/0.4174, allocations: 94.7 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4174, allocations: 3.938 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.4175, allocations: 47.92 kB / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.4178, allocations: 15.92 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.4199, allocations: 1.547 MB / 1.336 GB, free: 8.121 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.4203, allocations: 0.7002 MB / 1.336 GB, free: 7.395 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.038e-05/0.4203, allocations: 21.98 kB / 1.336 GB, free: 7.371 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.73e-05/0.4204, allocations: 39.41 kB / 1.337 GB, free: 7.332 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.4204, allocations: 0 / 1.337 GB, free: 7.332 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02606/0.4465, allocations: 3.409 MB / 1.34 GB, free: 4.066 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.09, allocations: 3.938 kB / 1.34 GB, free: 4.062 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.111119349021465] Failed to read output from testmodel.py, exit status != 0: 12.259599954995792 12.290361445 11.876220696 Calling exit ...