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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_latest_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.001217/0.001216, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 194.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.686/2.686, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001246, allocations: 66.83 kB / 0.8992 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3213, allocations: 157.4 MB / 1.053 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002218/0.3235, allocations: 0.7315 MB / 1.054 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002131/0.3257, allocations: 1.532 MB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.103e-05/0.3258, allocations: 0 / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.669e-05/0.3259, allocations: 7.875 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001875/0.3261, allocations: 23.86 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005137/0.3266, allocations: 155.5 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.3268, allocations: 115.8 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.3269, allocations: 19.92 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.3271, allocations: 55.78 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.3272, allocations: 51.81 kB / 1.056 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.3272, allocations: 12 kB / 1.056 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002086/0.3274, allocations: 83.94 kB / 1.056 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.751e-05/0.3275, allocations: 23.92 kB / 1.056 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.844e-05/0.3276, allocations: 51.8 kB / 1.056 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.3279, allocations: 191.7 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3279, allocations: 4 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3279, allocations: 0 / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.3279, allocations: 0 / 1.056 GB, free: 5.18 MB / 0.8106 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.0007362/0.3287, allocations: 427.1 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3287, allocations: 8.625 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.749e-05/0.3288, allocations: 38.75 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.3288, allocations: 8.844 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.329, allocations: 172.2 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.694e-05/0.329, allocations: 38.25 kB / 1.057 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.3291, allocations: 12.38 kB / 1.057 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.3293, allocations: 96.17 kB / 1.057 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3293, allocations: 0 / 1.057 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.3293, allocations: 3.984 kB / 1.057 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.3293, allocations: 7.984 kB / 1.057 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.3294, allocations: 43.92 kB / 1.057 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007018/0.3301, allocations: 0.5282 MB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004931/0.3307, allocations: 135.7 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.389e-05/0.3307, allocations: 46.59 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.3308, allocations: 8 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002821/0.3311, allocations: 114.4 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.243e-06/0.3311, allocations: 0 / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0003447/0.3314, allocations: 137.5 kB / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.3315, allocations: 110.8 kB / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.3316, allocations: 125.8 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.3316, allocations: 25.83 kB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.353e-05/0.3317, allocations: 100.3 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.3317, allocations: 31.56 kB / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.544e-05/0.3318, allocations: 33.7 kB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.3319, allocations: 326.8 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.757e-05/0.332, allocations: 31.98 kB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.313e-05/0.3321, allocations: 35.98 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.3323, allocations: 86.81 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3323, allocations: 4 kB / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002376/0.3326, allocations: 125.6 kB / 1.059 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.3326, allocations: 7.938 kB / 1.059 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3326, allocations: 0 / 1.059 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3326, allocations: 4 kB / 1.059 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.3327, allocations: 19.92 kB / 1.059 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.3328, allocations: 7.938 kB / 1.059 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.887e-05/0.3329, allocations: 15.86 kB / 1.059 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.3329, allocations: 8.25 kB / 1.059 GB, free: 1.996 MB / 0.8106 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.0001021/0.333, allocations: 119.4 kB / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.333, allocations: 15.89 kB / 1.059 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.3333, allocations: 114.1 kB / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3333, allocations: 4 kB / 1.059 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3333, allocations: 0 / 1.059 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.3333, allocations: 11.92 kB / 1.059 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.3335, allocations: 225.4 kB / 1.059 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3335, allocations: 4 kB / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.842e-05/0.3336, allocations: 15.94 kB / 1.059 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.3336, allocations: 4 kB / 1.059 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.3336, allocations: 7.984 kB / 1.059 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3336, allocations: 4 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3336, allocations: 0 / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.3339, allocations: 168.8 kB / 1.059 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.904e-05/0.3339, allocations: 104.9 kB / 1.059 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.334, allocations: 4 kB / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.817e-05/0.3341, allocations: 11.98 kB / 1.059 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.717e-05/0.3341, allocations: 19.86 kB / 1.059 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.3341, allocations: 4 kB / 1.059 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.059e-05/0.3342, allocations: 99.27 kB / 1.06 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3342, allocations: 4 kB / 1.06 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002773/0.3345, allocations: 59.84 kB / 1.06 GB, free: 0.9102 MB / 0.8106 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.0006465/0.3351, allocations: 0.7545 MB / 1.06 GB, free: 124 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002422/0.3354, allocations: 106.4 kB / 1.06 GB, free: 20 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3354, allocations: 0 / 1.06 GB, free: 20 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.3355, allocations: 51.97 kB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.3357, allocations: 15.88 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.3375, allocations: 1.532 MB / 1.062 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.3378, allocations: 0.7002 MB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.68e-05/0.3378, allocations: 27.86 kB / 1.063 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.144e-05/0.3379, allocations: 35.42 kB / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3379, allocations: 0 / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01834/0.3563, allocations: 2.932 MB / 1.066 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.054/7.41, allocations: 5.5 kB / 1.066 GB, free: 10.74 MB / 0.8262 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)