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.436/1.436, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 191.4 kB / 326.5 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.098/2.098, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.001087/0.001087, allocations: 90.28 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002963/0.0002964, allocations: 6.5 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2245, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2291/0.4537, allocations: 132.9 MB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003386/0.4541, allocations: 75.95 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01626/0.4704, allocations: 3.416 MB / 1.033 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.665e-06/0.4704, allocations: 0 / 1.033 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.4704, allocations: 4 kB / 1.033 GB, free: 7.34 MB / 0.6823 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.0007597/0.4712, allocations: 427.2 kB / 1.034 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.4713, allocations: 12.03 kB / 1.034 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.67e-05/0.4713, allocations: 7.906 kB / 1.034 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.4715, allocations: 178.9 kB / 1.034 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.419e-05/0.4716, allocations: 37.7 kB / 1.034 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/0.4717, allocations: 8 kB / 1.034 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.472, allocations: 104.1 kB / 1.034 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.472, allocations: 0 / 1.034 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.472, allocations: 0 / 1.034 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.472, allocations: 4 kB / 1.034 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.4722, allocations: 43.92 kB / 1.034 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008482/0.473, allocations: 0.5282 MB / 1.035 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006731/0.4737, allocations: 131.8 kB / 1.035 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/0.4738, allocations: 8 kB / 1.035 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002489/0.474, allocations: 119.7 kB / 1.035 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 1.773e-06/0.4741, allocations: 0 / 1.035 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0004897/0.4746, allocations: 145.4 kB / 1.035 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.194e-05/0.4747, allocations: 106.8 kB / 1.035 GB, free: 5.262 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.4748, allocations: 113 kB / 1.035 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.4748, allocations: 29.83 kB / 1.035 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.145e-05/0.4749, allocations: 100.4 kB / 1.035 GB, free: 5.004 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.475, allocations: 27.64 kB / 1.035 GB, free: 4.977 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.566e-05/0.475, allocations: 4 kB / 1.035 GB, free: 4.973 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.4751, allocations: 322.8 kB / 1.036 GB, free: 4.648 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.4753, allocations: 31.98 kB / 1.036 GB, free: 4.617 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.4754, allocations: 37.25 kB / 1.036 GB, free: 4.582 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.4756, allocations: 34.39 kB / 1.036 GB, free: 4.551 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4756, allocations: 0 / 1.036 GB, free: 4.551 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003981/0.476, allocations: 137.4 kB / 1.036 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.4761, allocations: 5.094 kB / 1.036 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4761, allocations: 0 / 1.036 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.4761, allocations: 4 kB / 1.036 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.4763, allocations: 15.98 kB / 1.036 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.4763, allocations: 3.953 kB / 1.036 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.4765, allocations: 19.89 kB / 1.036 GB, free: 4.363 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.4765, allocations: 4 kB / 1.036 GB, free: 4.359 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.4766, allocations: 126.6 kB / 1.036 GB, free: 4.227 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.4767, allocations: 11.89 kB / 1.036 GB, free: 4.215 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003335/0.477, allocations: 106.4 kB / 1.036 GB, free: 4.105 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.477, allocations: 11.97 kB / 1.036 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.4771, allocations: 4.062 kB / 1.036 GB, free: 4.09 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.4771, allocations: 11.94 kB / 1.036 GB, free: 4.078 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.4773, allocations: 221.5 kB / 1.036 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4774, allocations: 0 / 1.036 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.4775, allocations: 20 kB / 1.036 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.4775, allocations: 0 / 1.036 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.4776, allocations: 4 kB / 1.036 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.4776, allocations: 7.922 kB / 1.036 GB, free: 3.781 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4776, allocations: 7.922 kB / 1.036 GB, free: 3.773 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003744/0.478, allocations: 198 kB / 1.037 GB, free: 3.543 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-05/0.4781, allocations: 101 kB / 1.037 GB, free: 3.426 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.4781, allocations: 8 kB / 1.037 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.4783, allocations: 7.953 kB / 1.037 GB, free: 3.41 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.587e-05/0.4784, allocations: 15.97 kB / 1.037 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.4784, allocations: 8 kB / 1.037 GB, free: 3.387 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.125e-05/0.4785, allocations: 99.27 kB / 1.037 GB, free: 3.289 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4785, allocations: 0 / 1.037 GB, free: 3.289 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004894/0.479, allocations: 59.94 kB / 1.037 GB, free: 3.23 MB / 0.6823 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) * 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 (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.0003129/0.4793, allocations: 161.3 kB / 1.037 GB, free: 3.062 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003435/0.4797, allocations: 94.91 kB / 1.037 GB, free: 2.973 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.4797, allocations: 4 kB / 1.037 GB, free: 2.969 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.4798, allocations: 55.86 kB / 1.037 GB, free: 2.914 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.4801, allocations: 15.98 kB / 1.037 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005981/0.4807, allocations: 259.2 kB / 1.037 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.481, allocations: 0.7082 MB / 1.038 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001232/0.4812, allocations: 12.64 kB / 1.038 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/0.4812, allocations: 19.42 kB / 1.038 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of SimCode: time 3.51e-07/0.4813, allocations: 0 / 1.038 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of Templates: time 0.005518/0.4868, allocations: 1.511 MB / 1.04 GB, free: 356 kB / 0.6823 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