Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.354/2.354, allocations: 387.4 MB / 394.9 MB, free: 13.42 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009734/0.0009734, allocations: 180.5 kB / 487.4 MB, free: 5.066 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.638/1.638, allocations: 221.5 MB / 0.7824 GB, free: 1.012 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 95.86 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.958e-05/1.96e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.317, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9879/1.305, allocations: 149.4 MB / 1.352 GB, free: 18.48 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000182/1.305, allocations: 71.3 kB / 1.352 GB, free: 18.48 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01067/1.316, allocations: 3.442 MB / 1.355 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.573e-06/1.316, allocations: 0 / 1.355 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.714e-06/1.316, allocations: 0 / 1.355 GB, free: 34.01 MB / 0.8386 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.0005379/1.316, allocations: 419.5 kB / 1.356 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/1.317, allocations: 15.97 kB / 1.356 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.308e-05/1.317, allocations: 8.484 kB / 1.356 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/1.317, allocations: 175.4 kB / 1.356 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/1.317, allocations: 4.453 kB / 1.356 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/1.317, allocations: 3.875 kB / 1.356 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001297/1.317, allocations: 41.03 kB / 1.356 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/1.317, allocations: 92.77 kB / 1.356 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/1.317, allocations: 0 / 1.356 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/1.317, allocations: 0 / 1.356 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/1.317, allocations: 3.984 kB / 1.356 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006456/1.318, allocations: 0.5026 MB / 1.357 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004074/1.318, allocations: 125.8 kB / 1.357 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.685e-05/1.318, allocations: 46.31 kB / 1.357 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/1.318, allocations: 0 / 1.357 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/1.319, allocations: 111.4 kB / 1.357 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/1.319, allocations: 0 / 1.357 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.000748/1.319, allocations: 174.2 kB / 1.357 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/1.319, allocations: 103.5 kB / 1.357 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/1.319, allocations: 123.7 kB / 1.357 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/1.32, allocations: 25.7 kB / 1.357 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.13e-05/1.32, allocations: 97.95 kB / 1.357 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/1.32, allocations: 29.25 kB / 1.357 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-06/1.32, allocations: 0 / 1.357 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.32, allocations: 320.7 kB / 1.358 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.788e-05/1.32, allocations: 35.03 kB / 1.358 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.902e-05/1.32, allocations: 30.72 kB / 1.358 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008053/1.321, allocations: 140.2 kB / 1.358 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.321, allocations: 0 / 1.358 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0009015/1.322, allocations: 220.5 kB / 1.358 GB, free: 32 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/1.322, allocations: 7.906 kB / 1.358 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/1.322, allocations: 4.531 kB / 1.358 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/1.322, allocations: 0 / 1.358 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/1.322, allocations: 18.78 kB / 1.358 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/1.322, allocations: 0 / 1.358 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.245e-05/1.322, allocations: 14.3 kB / 1.358 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/1.322, allocations: 12.36 kB / 1.358 GB, free: 31.98 MB / 0.8386 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.517e-05/1.322, allocations: 106.5 kB / 1.358 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/1.322, allocations: 11.69 kB / 1.358 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002138/1.322, allocations: 108.2 kB / 1.358 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/1.322, allocations: 3.844 kB / 1.358 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.322, allocations: 0 / 1.358 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/1.322, allocations: 2.094 kB / 1.358 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/1.322, allocations: 195.5 kB / 1.359 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.322, allocations: 0 / 1.359 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.84e-05/1.323, allocations: 26.31 kB / 1.359 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/1.323, allocations: 0 / 1.359 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/1.323, allocations: 4.562 kB / 1.359 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/1.323, allocations: 8.062 kB / 1.359 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.323, allocations: 4.547 kB / 1.359 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006361/1.323, allocations: 253 kB / 1.359 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.995e-05/1.323, allocations: 101 kB / 1.359 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/1.323, allocations: 0 / 1.359 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.648e-05/1.323, allocations: 10.44 kB / 1.359 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/1.323, allocations: 20.41 kB / 1.359 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/1.324, allocations: 3.844 kB / 1.359 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.711e-05/1.324, allocations: 96.73 kB / 1.359 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.324, allocations: 0 / 1.359 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002518/1.324, allocations: 54.66 kB / 1.359 GB, free: 31.32 MB / 0.8386 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.0002145/1.324, allocations: 165.2 kB / 1.359 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005294/1.325, allocations: 0.7657 MB / 1.36 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.325, allocations: 0 / 1.36 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.315e-05/1.325, allocations: 43.31 kB / 1.36 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/1.325, allocations: 13.5 kB / 1.36 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/1.325, allocations: 152.5 kB / 1.36 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/1.326, allocations: 0.7039 MB / 1.361 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.142e-05/1.326, allocations: 19.77 kB / 1.361 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/1.326, allocations: 17.19 kB / 1.361 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.326, allocations: 0 / 1.361 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of Templates: time 0.003789/1.329, allocations: 1.489 MB / 1.362 GB, free: 29.55 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","../files/Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches