Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.723/1.723, allocations: 288.4 MB / 304.3 MB, free: 8.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001167/0.001168, allocations: 184.5 kB / 373 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.4 MB / 0.6317 GB, free: 9.922 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001072/0.001071, allocations: 82.36 kB / 0.745 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003308, allocations: 11.72 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1813, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6007/0.782, allocations: 139 MB / 1.116 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.7823, allocations: 72.47 kB / 1.117 GB, free: 16.34 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Controls/OBC/CDL/Utilities/SunRiseSet.mo:122:7-122:30:writable] Warning: timDif was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01005/0.7923, allocations: 3.341 MB / 1.12 GB, free: 31.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.815e-06/0.7924, allocations: 3.938 kB / 1.12 GB, free: 31.87 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.076e-06/0.7924, allocations: 3.844 kB / 1.12 GB, free: 31.87 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005914/0.793, allocations: 420.7 kB / 1.12 GB, free: 31.47 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.793, allocations: 11.53 kB / 1.12 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.7931, allocations: 11.72 kB / 1.12 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.7932, allocations: 172.1 kB / 1.12 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.346e-05/0.7933, allocations: 37.98 kB / 1.12 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.7933, allocations: 11.2 kB / 1.12 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.7935, allocations: 109 kB / 1.121 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.7935, allocations: 3.938 kB / 1.121 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.7935, allocations: 3.938 kB / 1.121 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.7935, allocations: 0 / 1.121 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.062e-05/0.7936, allocations: 47.45 kB / 1.121 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006211/0.7943, allocations: 0.5131 MB / 1.121 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004133/0.7947, allocations: 135.3 kB / 1.121 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.054e-05/0.7948, allocations: 42.75 kB / 1.121 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.7948, allocations: 0 / 1.121 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000166/0.795, allocations: 117.6 kB / 1.121 GB, free: 30.54 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.795, allocations: 3.938 kB / 1.121 GB, free: 30.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0002739/0.7953, allocations: 129.6 kB / 1.121 GB, free: 30.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.7953, allocations: 112.6 kB / 1.122 GB, free: 30.38 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.896e-05/0.7954, allocations: 130.2 kB / 1.122 GB, free: 30.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.7955, allocations: 25.7 kB / 1.122 GB, free: 30.24 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.373e-05/0.7955, allocations: 95.75 kB / 1.122 GB, free: 30.15 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.7955, allocations: 34.42 kB / 1.122 GB, free: 30.13 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.7956, allocations: 4.125 kB / 1.122 GB, free: 30.13 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.7957, allocations: 325.7 kB / 1.122 GB, free: 29.81 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.804e-05/0.7958, allocations: 29.84 kB / 1.122 GB, free: 29.81 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.57e-05/0.7959, allocations: 49.81 kB / 1.122 GB, free: 29.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.796, allocations: 85.58 kB / 1.122 GB, free: 29.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.796, allocations: 0 / 1.122 GB, free: 29.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002074/0.7962, allocations: 135.7 kB / 1.122 GB, free: 29.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.7963, allocations: 9.312 kB / 1.122 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.7963, allocations: 0 / 1.122 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.7963, allocations: 0 / 1.122 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.7964, allocations: 18.47 kB / 1.123 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.7964, allocations: 3.875 kB / 1.123 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.011e-05/0.7965, allocations: 10.89 kB / 1.123 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.7965, allocations: 7.781 kB / 1.123 GB, free: 29.72 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.000107/0.7967, allocations: 135.9 kB / 1.123 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.724e-05/0.7967, allocations: 7.781 kB / 1.123 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.7969, allocations: 111.2 kB / 1.123 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.7969, allocations: 7.781 kB / 1.123 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.7969, allocations: 0 / 1.123 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.7969, allocations: 3.844 kB / 1.123 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.7971, allocations: 228.7 kB / 1.123 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.7971, allocations: 4.312 kB / 1.123 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.013e-05/0.7972, allocations: 23.38 kB / 1.123 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.7972, allocations: 3.094 kB / 1.123 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.7972, allocations: 3.812 kB / 1.123 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.7973, allocations: 0 / 1.123 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.7973, allocations: 3.875 kB / 1.123 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/0.7975, allocations: 175.2 kB / 1.123 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.12e-05/0.7976, allocations: 102.4 kB / 1.123 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.7976, allocations: 3.938 kB / 1.123 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.27e-05/0.7977, allocations: 10.55 kB / 1.123 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.7978, allocations: 10.75 kB / 1.123 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.7978, allocations: 7.75 kB / 1.123 GB, free: 29.14 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.942e-05/0.7979, allocations: 100.3 kB / 1.123 GB, free: 29.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7979, allocations: 3.812 kB / 1.123 GB, free: 29.07 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002957/0.7982, allocations: 54.09 kB / 1.123 GB, free: 29.05 MB / 0.698 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.0002305/0.7985, allocations: 166.2 kB / 1.124 GB, free: 28.95 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002007/0.7987, allocations: 96.64 kB / 1.124 GB, free: 28.94 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7987, allocations: 0 / 1.124 GB, free: 28.94 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.686e-05/0.7988, allocations: 49.45 kB / 1.124 GB, free: 28.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.799, allocations: 16.95 kB / 1.124 GB, free: 28.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004442/0.7994, allocations: 270.4 kB / 1.124 GB, free: 28.74 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.7997, allocations: 0.7039 MB / 1.125 GB, free: 28.04 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.325e-05/0.7998, allocations: 19.08 kB / 1.125 GB, free: 28.04 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.825e-05/0.7999, allocations: 18.39 kB / 1.125 GB, free: 28.03 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/0.7999, allocations: 0 / 1.125 GB, free: 28.03 MB / 0.698 GB Notification: Performance of Templates: time 0.00365/0.8035, allocations: 1.466 MB / 1.126 GB, free: 27.89 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)