Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.643/1.643, allocations: 297.8 MB / 313.7 MB, free: 112 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 176.5 kB / 384.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 223.2 MB / 0.6626 GB, free: 4.188 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007668/0.0007668, allocations: 102.9 kB / 0.7808 GB, free: 50.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003735, allocations: 9.406 kB / 0.9088 GB, free: 2.836 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7223/0.7227, allocations: 120.3 MB / 1.026 GB, free: 55.94 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1646/0.8873, allocations: 142.1 MB / 1.165 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001953/0.8875, allocations: 75.67 kB / 1.165 GB, free: 1.523 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.0106/0.8982, allocations: 3.407 MB / 1.168 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8982, allocations: 0 / 1.168 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.8982, allocations: 4.594 kB / 1.168 GB, free: 15.06 MB / 0.7448 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.0005505/0.8988, allocations: 418.5 kB / 1.169 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.8988, allocations: 8.031 kB / 1.169 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.8989, allocations: 9.344 kB / 1.169 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.899, allocations: 177.2 kB / 1.169 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.379e-05/0.8991, allocations: 35.45 kB / 1.169 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.8991, allocations: 18.44 kB / 1.169 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.8993, allocations: 98.16 kB / 1.169 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.8993, allocations: 4.969 kB / 1.169 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.8993, allocations: 4 kB / 1.169 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.8993, allocations: 0.9688 kB / 1.169 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.8994, allocations: 50.73 kB / 1.169 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005969/0.9, allocations: 0.5115 MB / 1.17 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/0.9005, allocations: 135 kB / 1.17 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.86e-05/0.9006, allocations: 51.47 kB / 1.17 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.9006, allocations: 0.6094 kB / 1.17 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.9008, allocations: 111.3 kB / 1.17 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.9008, allocations: 0 / 1.17 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0002912/0.9011, allocations: 141.1 kB / 1.17 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.9011, allocations: 109.4 kB / 1.17 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.9012, allocations: 132.2 kB / 1.17 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.9013, allocations: 29.7 kB / 1.17 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.799e-05/0.9013, allocations: 98.09 kB / 1.171 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.9014, allocations: 26.88 kB / 1.171 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-06/0.9014, allocations: 8.469 kB / 1.171 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.412e-05/0.9015, allocations: 327.9 kB / 1.171 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.505e-05/0.9016, allocations: 32.12 kB / 1.171 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.797e-05/0.9017, allocations: 52.12 kB / 1.171 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.9018, allocations: 79.09 kB / 1.171 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.9018, allocations: 0.6562 kB / 1.171 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002392/0.9021, allocations: 129.8 kB / 1.171 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.9021, allocations: 5.844 kB / 1.171 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.9021, allocations: 0.9375 kB / 1.171 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.9021, allocations: 4 kB / 1.171 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.9023, allocations: 20.39 kB / 1.171 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.9023, allocations: 7.938 kB / 1.171 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.039e-05/0.9024, allocations: 10.39 kB / 1.171 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.9024, allocations: 4.656 kB / 1.171 GB, free: 12.17 MB / 0.7448 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.0001016/0.9025, allocations: 133.2 kB / 1.171 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.99e-05/0.9025, allocations: 8.422 kB / 1.171 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.9028, allocations: 119.2 kB / 1.171 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.9028, allocations: 4 kB / 1.171 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.9028, allocations: 0.9375 kB / 1.171 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.9028, allocations: 1.312 kB / 1.171 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.903, allocations: 226.5 kB / 1.172 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.903, allocations: 0 / 1.172 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.009e-05/0.9031, allocations: 19 kB / 1.172 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.9031, allocations: 0 / 1.172 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.9031, allocations: 8.609 kB / 1.172 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.9032, allocations: 4.656 kB / 1.172 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.9032, allocations: 4 kB / 1.172 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.9034, allocations: 172.1 kB / 1.172 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.623e-05/0.9035, allocations: 100.2 kB / 1.172 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.9035, allocations: 9.078 kB / 1.172 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.869e-05/0.9036, allocations: 10.81 kB / 1.172 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.9037, allocations: 17.78 kB / 1.172 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.9037, allocations: 8.641 kB / 1.172 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.807e-05/0.9038, allocations: 100.5 kB / 1.172 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9038, allocations: 0 / 1.172 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002998/0.9041, allocations: 57.91 kB / 1.172 GB, free: 11.16 MB / 0.7448 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.00024/0.9043, allocations: 156.1 kB / 1.172 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002262/0.9045, allocations: 98.94 kB / 1.172 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9046, allocations: 0 / 1.172 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.236e-05/0.9047, allocations: 52.44 kB / 1.172 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.9049, allocations: 13.39 kB / 1.172 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004861/0.9054, allocations: 262.9 kB / 1.173 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.9056, allocations: 0.7025 MB / 1.173 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.601e-05/0.9057, allocations: 20.86 kB / 1.173 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.303e-05/0.9057, allocations: 21.22 kB / 1.173 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of SimCode: time 1.413e-06/0.9057, allocations: 0 / 1.173 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of Templates: time 0.004166/0.9099, allocations: 1.477 MB / 1.175 GB, free: 9.039 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)