Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.407/1.407, allocations: 249.5 MB / 257 MB, free: 6.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 176.9 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.761/1.761, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009329/0.0009329, allocations: 77.8 kB / 0.6714 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.911e-05/1.907e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2155, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6894/0.905, allocations: 133.1 MB / 1.015 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.9053, allocations: 73.33 kB / 1.015 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01016/0.9155, allocations: 3.395 MB / 1.019 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9155, allocations: 0 / 1.019 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.9155, allocations: 0 / 1.019 GB, free: 1.516 MB / 0.6355 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.0005931/0.9161, allocations: 417.3 kB / 1.019 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.9162, allocations: 16.02 kB / 1.019 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.9162, allocations: 7.906 kB / 1.019 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.9164, allocations: 171 kB / 1.019 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.9164, allocations: 4 kB / 1.019 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.9165, allocations: 7.75 kB / 1.019 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001033/0.9166, allocations: 37.55 kB / 1.019 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.9167, allocations: 93.17 kB / 1.019 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.9167, allocations: 0 / 1.019 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.9168, allocations: 0 / 1.019 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.9168, allocations: 4 kB / 1.019 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006246/0.9174, allocations: 0.4949 MB / 1.02 GB, free: 220 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004292/0.9178, allocations: 130.4 kB / 1.02 GB, free: 80 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.352e-05/0.9179, allocations: 41.56 kB / 1.02 GB, free: 40 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.9179, allocations: 7.938 kB / 1.02 GB, free: 32 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/0.9181, allocations: 109.2 kB / 1.02 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.9182, allocations: 0 / 1.02 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0007249/0.9189, allocations: 171.9 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.022e-05/0.919, allocations: 106.8 kB / 1.02 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.559e-05/0.9191, allocations: 116 kB / 1.021 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.9191, allocations: 25.7 kB / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.359e-05/0.9192, allocations: 92.27 kB / 1.021 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.9192, allocations: 31.36 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-06/0.9192, allocations: 4.031 kB / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.9194, allocations: 322.7 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.078e-05/0.9195, allocations: 35.31 kB / 1.021 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.981e-05/0.9195, allocations: 26.94 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007811/0.9203, allocations: 141.8 kB / 1.021 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.9203, allocations: 0 / 1.021 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008767/0.9212, allocations: 220.1 kB / 1.021 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.9212, allocations: 11.94 kB / 1.021 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.9212, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.9213, allocations: 4 kB / 1.021 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.9214, allocations: 19.92 kB / 1.021 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.9214, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.834e-05/0.9215, allocations: 11.94 kB / 1.021 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.9215, allocations: 15.88 kB / 1.021 GB, free: 14.65 MB / 0.6511 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 ($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 9.734e-05/0.9216, allocations: 105 kB / 1.022 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005914/0.9222, allocations: 172.5 kB / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.9222, allocations: 7.906 kB / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.9225, allocations: 113.6 kB / 1.022 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.9225, allocations: 4 kB / 1.022 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.9225, allocations: 3.953 kB / 1.022 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.9225, allocations: 4 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.9227, allocations: 188.8 kB / 1.022 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.228e-06/0.9227, allocations: 4 kB / 1.022 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.894e-05/0.9228, allocations: 16 kB / 1.022 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.9228, allocations: 7.938 kB / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.9228, allocations: 3.984 kB / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.9228, allocations: 4 kB / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.9228, allocations: 3.938 kB / 1.022 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000658/0.9235, allocations: 248.1 kB / 1.022 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.173e-05/0.9236, allocations: 108.4 kB / 1.022 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.9236, allocations: 4 kB / 1.022 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.637e-05/0.9237, allocations: 7.953 kB / 1.022 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.9238, allocations: 11.98 kB / 1.022 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.9238, allocations: 11.92 kB / 1.022 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.135e-05/0.9239, allocations: 87.09 kB / 1.023 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9239, allocations: 0 / 1.023 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003191/0.9242, allocations: 71.36 kB / 1.023 GB, free: 13.49 MB / 0.6511 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.001167/0.9254, allocations: 0.9635 MB / 1.024 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005275/0.9259, allocations: 0.77 MB / 1.024 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.9259, allocations: 0 / 1.024 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.649e-05/0.926, allocations: 51.05 kB / 1.024 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.9262, allocations: 4 kB / 1.024 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005156/0.9267, allocations: 211 kB / 1.025 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.9271, allocations: 0.7002 MB / 1.025 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.263e-05/0.9272, allocations: 16.67 kB / 1.025 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.71e-05/0.9272, allocations: 34.86 kB / 1.025 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of SimCode: time 1.894e-06/0.9273, allocations: 7.938 kB / 1.025 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.9487, allocations: 2.381 MB / 1.028 GB, free: 8.352 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002392/0.949, allocations: 170.2 kB / 1.028 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.431/2.38, allocations: 1.406 kB / 1.028 GB, free: 8.156 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)