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: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.413/1.413, allocations: 249.5 MB / 257 MB, free: 6.832 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.001024/0.001024, allocations: 180.5 kB / 316.3 MB, free: 3.242 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.698/1.698, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0009343/0.0009344, allocations: 101.5 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.47e-05/1.467e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2463, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8155/1.062, allocations: 133.1 MB / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/1.062, allocations: 77.75 kB / 1.015 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01039/1.072, allocations: 3.389 MB / 1.019 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.703e-06/1.073, allocations: 0 / 1.019 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.066e-05/1.073, allocations: 4 kB / 1.019 GB, free: 1.805 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.0006111/1.073, allocations: 405.7 kB / 1.019 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.017e-05/1.073, allocations: 16.03 kB / 1.019 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.212e-05/1.073, allocations: 7.906 kB / 1.019 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/1.074, allocations: 171 kB / 1.019 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/1.074, allocations: 4.688 kB / 1.019 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/1.074, allocations: 4 kB / 1.019 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001366/1.074, allocations: 38.36 kB / 1.019 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/1.074, allocations: 95.22 kB / 1.019 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/1.074, allocations: 0 / 1.019 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/1.074, allocations: 4 kB / 1.019 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.547e-06/1.074, allocations: 4 kB / 1.019 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006564/1.075, allocations: 0.5077 MB / 1.02 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000446/1.075, allocations: 120.2 kB / 1.02 GB, free: 376 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.719e-05/1.075, allocations: 49.14 kB / 1.02 GB, free: 328 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/1.075, allocations: 0 / 1.02 GB, free: 328 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/1.075, allocations: 110 kB / 1.02 GB, free: 212 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/1.075, allocations: 0 / 1.02 GB, free: 212 kB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0007271/1.076, allocations: 170.3 kB / 1.02 GB, free: 60 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.47e-05/1.076, allocations: 110.8 kB / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.726e-05/1.076, allocations: 118.5 kB / 1.02 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/1.076, allocations: 28.7 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.428e-05/1.076, allocations: 99.38 kB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/1.076, allocations: 30.62 kB / 1.021 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.185e-06/1.076, allocations: 0 / 1.021 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001211/1.077, allocations: 322.1 kB / 1.021 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.743e-05/1.077, allocations: 28.69 kB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.497e-05/1.077, allocations: 35.12 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007894/1.077, allocations: 143.5 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.078, allocations: 4 kB / 1.021 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008842/1.078, allocations: 216.1 kB / 1.021 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/1.078, allocations: 8 kB / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/1.078, allocations: 0 / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/1.078, allocations: 0 / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/1.079, allocations: 19.92 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/1.079, allocations: 0 / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.21e-05/1.079, allocations: 19.92 kB / 1.021 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/1.079, allocations: 7.953 kB / 1.021 GB, free: 14.93 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 8.915e-05/1.079, allocations: 106.2 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/1.079, allocations: 11.22 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/1.079, allocations: 109.3 kB / 1.022 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/1.079, allocations: 8 kB / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/1.079, allocations: 0 / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/1.079, allocations: 0 / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/1.079, allocations: 192.4 kB / 1.022 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/1.079, allocations: 0 / 1.022 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.814e-05/1.079, allocations: 16 kB / 1.022 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/1.079, allocations: 4 kB / 1.022 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/1.079, allocations: 7.922 kB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/1.079, allocations: 3.938 kB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.079, allocations: 4 kB / 1.022 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006894/1.08, allocations: 246.1 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.832e-05/1.08, allocations: 108.3 kB / 1.022 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/1.08, allocations: 7.125 kB / 1.022 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.64e-05/1.08, allocations: 8 kB / 1.022 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.86e-05/1.081, allocations: 15.94 kB / 1.022 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/1.081, allocations: 10.86 kB / 1.022 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.25e-05/1.081, allocations: 92.84 kB / 1.022 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/1.081, allocations: 0 / 1.022 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003247/1.081, allocations: 55.92 kB / 1.022 GB, free: 13.93 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.0003305/1.081, allocations: 155.1 kB / 1.022 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007409/1.082, allocations: 0.7633 MB / 1.023 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.082, allocations: 3.938 kB / 1.023 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.119e-05/1.082, allocations: 46.88 kB / 1.023 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/1.082, allocations: 7.562 kB / 1.023 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004596/1.083, allocations: 144.5 kB / 1.023 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/1.083, allocations: 0.7041 MB / 1.024 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.348e-05/1.083, allocations: 16.67 kB / 1.024 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/1.083, allocations: 19.12 kB / 1.024 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of SimCode: time 4.81e-07/1.083, allocations: 0 / 1.024 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of Templates: time 0.004481/1.088, allocations: 1.496 MB / 1.026 GB, free: 10.59 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches