Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01239/0.01239, allocations: 109.8 kB / 15.74 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002524/0.002524, allocations: 196 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.304/2.304, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.714/3.714, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 70 kB / 0.9504 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4278/0.4299, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002587/0.4326, allocations: 0.7238 MB / 1.088 GB, free: 1.262 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002782/0.4354, allocations: 1.534 MB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.511e-05/0.4355, allocations: 0 / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.245e-05/0.4356, allocations: 3.938 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.4358, allocations: 23.78 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006055/0.4364, allocations: 151.5 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.4367, allocations: 119.7 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.4368, allocations: 16 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.437, allocations: 55.83 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.4371, allocations: 51.81 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.389e-05/0.4372, allocations: 8 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002905/0.4375, allocations: 91.94 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.289e-05/0.4376, allocations: 31.89 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.92e-05/0.4377, allocations: 51.73 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004221/0.4381, allocations: 199.2 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4381, allocations: 4 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4381, allocations: 0 / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.4381, allocations: 0 / 1.09 GB, free: 14.92 MB / 0.8575 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.001047/0.4392, allocations: 419.2 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 8.904e-05/0.4393, allocations: 8.031 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.901e-05/0.4394, allocations: 46.73 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.664e-05/0.4395, allocations: 12.84 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.4397, allocations: 180.2 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.826e-05/0.4398, allocations: 42.19 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/0.4399, allocations: 12.31 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/0.4402, allocations: 100.2 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.4402, allocations: 0 / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.4402, allocations: 0 / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.4402, allocations: 0 / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.4404, allocations: 55.91 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009321/0.4413, allocations: 0.5088 MB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00071/0.4421, allocations: 139.7 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.4422, allocations: 50.5 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.4422, allocations: 12.14 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003493/0.4426, allocations: 105.9 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 2.184e-06/0.4426, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0004868/0.4431, allocations: 145.4 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.769e-05/0.4432, allocations: 102.8 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.4434, allocations: 130 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.4434, allocations: 29.7 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.056e-05/0.4435, allocations: 88.33 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.802e-05/0.4436, allocations: 35.55 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.991e-05/0.4437, allocations: 33.7 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.4438, allocations: 326.8 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.444, allocations: 31.98 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.4441, allocations: 37.95 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.4444, allocations: 88.66 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4444, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003923/0.4448, allocations: 132.7 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.4449, allocations: 8 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.4449, allocations: 0 / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/0.4449, allocations: 0 / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.4451, allocations: 19.98 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.4451, allocations: 0 / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.4453, allocations: 19.8 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/0.4453, allocations: 12 kB / 1.093 GB, free: 11.73 MB / 0.8575 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.0001485/0.4455, allocations: 115.3 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.4455, allocations: 11.91 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003473/0.4459, allocations: 118.2 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.4459, allocations: 0 / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.4459, allocations: 4 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.4459, allocations: 11.94 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003089/0.4463, allocations: 217.5 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4463, allocations: 0 / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.4464, allocations: 19.98 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4464, allocations: 3.938 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.4465, allocations: 8 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4465, allocations: 3.938 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4465, allocations: 0 / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004653/0.447, allocations: 174.9 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.4471, allocations: 108.9 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.351e-05/0.4471, allocations: 7.906 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.4473, allocations: 8 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.115e-05/0.4474, allocations: 11.92 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.48e-05/0.4474, allocations: 11.98 kB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001043/0.4475, allocations: 101.3 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.956e-06/0.4475, allocations: 4 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005264/0.4481, allocations: 59.88 kB / 1.094 GB, free: 10.65 MB / 0.8575 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.001238/0.4493, allocations: 0.7584 MB / 1.095 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003977/0.4498, allocations: 103 kB / 1.095 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4498, allocations: 0 / 1.095 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.4499, allocations: 55.86 kB / 1.095 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.4503, allocations: 14.09 kB / 1.095 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.4532, allocations: 1.531 MB / 1.097 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/0.4537, allocations: 0.7002 MB / 1.097 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001064/0.4539, allocations: 12.55 kB / 1.097 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.454, allocations: 35.42 kB / 1.097 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of SimCode: time 3.3e-07/0.454, allocations: 0 / 1.097 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03395/0.488, allocations: 2.984 MB / 1.1 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.45, allocations: 21.62 kB / 1.1 GB, free: 4.41 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)