Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_10_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.00122/0.00122, 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.00123/0.00123, allocations: 193.8 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.448/1.448, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.655/2.655, allocations: 437.1 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 56.05 kB / 0.8693 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5956/0.597, allocations: 151.6 MB / 1.017 GB, free: 2.555 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002152/0.5992, allocations: 0.7117 MB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002063/0.6013, allocations: 1.525 MB / 1.02 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.885e-05/0.6014, allocations: 0 / 1.02 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/0.6014, allocations: 11.92 kB / 1.02 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.6016, allocations: 27.73 kB / 1.02 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000485/0.6021, allocations: 155.5 kB / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000169/0.6023, allocations: 115.8 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.6024, allocations: 23.91 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.6026, allocations: 51.84 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.6027, allocations: 47.83 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.981e-05/0.6027, allocations: 12 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/0.6029, allocations: 83.94 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.455e-05/0.603, allocations: 27.91 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.554e-05/0.6031, allocations: 55.72 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003648/0.6035, allocations: 189.8 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.6035, allocations: 0 / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6035, allocations: 0 / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.6035, allocations: 3.984 kB / 1.02 GB, free: 15.51 MB / 0.7794 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.0008855/0.6044, allocations: 423.1 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/0.6045, allocations: 8.031 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.389e-05/0.6045, allocations: 46.67 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.414e-05/0.6046, allocations: 8.844 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.6048, allocations: 176.2 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.518e-05/0.6049, allocations: 34.27 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.6049, allocations: 16.36 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.6051, allocations: 100.1 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.6051, allocations: 4 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.6052, allocations: 4 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.6052, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.6053, allocations: 51.91 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007745/0.6061, allocations: 0.5204 MB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005315/0.6066, allocations: 135.8 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.225e-05/0.6067, allocations: 46.66 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.6068, allocations: 3.938 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002559/0.607, allocations: 117.9 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 2.054e-06/0.607, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0003337/0.6074, allocations: 145.6 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.6074, allocations: 102.8 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.6076, allocations: 129.8 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.6076, allocations: 33.83 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.468e-05/0.6077, allocations: 88.33 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.6077, allocations: 35.7 kB / 1.023 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.933e-05/0.6078, allocations: 33.7 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.6079, allocations: 326.8 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.609e-05/0.608, allocations: 31.98 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.276e-05/0.6081, allocations: 38.09 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.6083, allocations: 76.84 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.6083, allocations: 0 / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002664/0.6085, allocations: 142.4 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.6086, allocations: 10.19 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.6086, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.6086, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.6087, allocations: 19.98 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.6087, allocations: 0 / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.291e-05/0.6088, allocations: 15.83 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.6089, allocations: 8 kB / 1.023 GB, free: 12.32 MB / 0.7794 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.0001222/0.609, allocations: 132.2 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.609, allocations: 11.91 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.6093, allocations: 113.9 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.6093, allocations: 4 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6093, allocations: 0 / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.6093, allocations: 11.94 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.6096, allocations: 221.4 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6096, allocations: 320 / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.968e-05/0.6097, allocations: 19.98 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.6097, allocations: 0 / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.6097, allocations: 12 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.6097, allocations: 0 / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6097, allocations: 0 / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.61, allocations: 183.7 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.133e-05/0.6101, allocations: 101 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.6102, allocations: 4 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.982e-05/0.6103, allocations: 8 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/0.6103, allocations: 11.92 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.6103, allocations: 8 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.145e-05/0.6104, allocations: 96.52 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6104, allocations: 4 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000318/0.6108, allocations: 59.92 kB / 1.024 GB, free: 11.23 MB / 0.7794 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.0006891/0.6115, allocations: 0.7669 MB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000268/0.6117, allocations: 108.7 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.6118, allocations: 0 / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.746e-05/0.6119, allocations: 51.92 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.6121, allocations: 15.88 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.6139, allocations: 1.53 MB / 1.027 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.6143, allocations: 0.7002 MB / 1.027 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.638e-05/0.6144, allocations: 16.44 kB / 1.027 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.194e-05/0.6144, allocations: 35.42 kB / 1.027 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.6144, allocations: 3.938 kB / 1.027 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06207/0.6765, allocations: 2.925 MB / 1.03 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.809/10.49, allocations: 4.453 kB / 1.03 GB, free: 5.055 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)