Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.373/2.373, allocations: 284.9 MB / 292.4 MB, free: 10.51 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001451/0.001451, allocations: 180.8 kB / 360.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.139/2.139, allocations: 205.3 MB / 0.6191 GB, free: 12.19 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001187/0.001186, allocations: 86.19 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.766e-05/2.764e-05, allocations: 0 / 0.8509 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8476/0.8476, allocations: 115.3 MB / 0.9634 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2473/1.095, allocations: 138 MB / 1.098 GB, free: 2.387 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/1.095, allocations: 70.03 kB / 1.098 GB, free: 2.32 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Controls/OBC/CDL/Utilities/SunRiseSet.mo:122:7-122:30:writable] Warning: timDif was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01706/1.112, allocations: 3.314 MB / 1.102 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.623e-06/1.112, allocations: 0 / 1.102 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.055e-06/1.112, allocations: 0 / 1.102 GB, free: 15.08 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007796/1.113, allocations: 415.1 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/1.113, allocations: 8.031 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.335e-05/1.113, allocations: 9.109 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/1.114, allocations: 179 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/1.114, allocations: 0 / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/1.114, allocations: 4 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001711/1.114, allocations: 43.98 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/1.114, allocations: 94.98 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/1.114, allocations: 4 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/1.114, allocations: 3.938 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/1.114, allocations: 3.938 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008415/1.115, allocations: 497.5 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007092/1.116, allocations: 131.8 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/1.116, allocations: 42.75 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/1.116, allocations: 0 / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002535/1.116, allocations: 109.9 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 2.155e-06/1.116, allocations: 0 / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.001059/1.117, allocations: 157.4 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/1.117, allocations: 114.8 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/1.117, allocations: 110.2 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/1.117, allocations: 41.72 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.313e-05/1.118, allocations: 92.98 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/1.118, allocations: 35.61 kB / 1.104 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/1.118, allocations: 0 / 1.104 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.118, allocations: 314.8 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.948e-05/1.118, allocations: 31.98 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/1.118, allocations: 42.7 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/1.119, allocations: 126.8 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.119, allocations: 1.406 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001407/1.121, allocations: 201.4 kB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/1.121, allocations: 4 kB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/1.121, allocations: 4 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/1.121, allocations: 0 / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/1.121, allocations: 15.98 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/1.121, allocations: 3.938 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/1.121, allocations: 19.8 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/1.121, allocations: 7.984 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunSet,dayCon.booToRea.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001207/1.121, allocations: 118.6 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009326/1.122, allocations: 163.4 kB / 1.105 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/1.122, allocations: 7.906 kB / 1.105 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003648/1.123, allocations: 110.3 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/1.123, allocations: 0 / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/1.123, allocations: 11.98 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/1.123, allocations: 0.8438 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/1.123, allocations: 186.1 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/1.123, allocations: 0 / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/1.123, allocations: 19.98 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/1.123, allocations: 0 / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/1.123, allocations: 4 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/1.123, allocations: 7.875 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.123, allocations: 0 / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/1.124, allocations: 242.9 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/1.125, allocations: 108 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/1.125, allocations: 0 / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/1.125, allocations: 15.94 kB / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/1.125, allocations: 15.98 kB / 1.105 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/1.125, allocations: 4 kB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.938e-05/1.125, allocations: 100.7 kB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/1.125, allocations: 0 / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004435/1.125, allocations: 55.92 kB / 1.105 GB, free: 10.76 MB / 0.7136 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.booToRea.u) * Number of discrete states: 2 (dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001653/1.127, allocations: 0.9648 MB / 1.106 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007006/1.128, allocations: 0.7532 MB / 1.107 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.128, allocations: 0 / 1.107 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/1.128, allocations: 55.55 kB / 1.107 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/1.128, allocations: 7.953 kB / 1.107 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007577/1.129, allocations: 203.8 kB / 1.107 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/1.129, allocations: 0.7002 MB / 1.108 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001319/1.129, allocations: 21.09 kB / 1.108 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/1.13, allocations: 35.36 kB / 1.108 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of SimCode: time 3.026e-06/1.13, allocations: 0 / 1.108 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04393/1.174, allocations: 2.345 MB / 1.11 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003329/1.174, allocations: 158.8 kB / 1.111 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.474/3.648, allocations: 2.375 kB / 1.111 GB, free: 5.41 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_8.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)