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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009605/0.0009604, allocations: 88.41 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007924/0.007924, allocations: 171.2 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.822/1.822, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.661/1.661, allocations: 252 MB / 0.5105 GB, free: 4.676 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005519/0.0005518, allocations: 12 kB / 0.6249 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6241/0.6247, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001039/0.6258, allocations: 470.8 kB / 0.7292 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002027/0.6278, allocations: 1.564 MB / 0.7307 GB, free: 9.234 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.233e-05/0.6279, allocations: 0 / 0.7307 GB, free: 9.234 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.163e-05/0.6279, allocations: 7.922 kB / 0.7307 GB, free: 9.227 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.6282, allocations: 19.86 kB / 0.7307 GB, free: 9.207 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.6285, allocations: 135.7 kB / 0.7309 GB, free: 9.074 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.6287, allocations: 103.7 kB / 0.731 GB, free: 8.973 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.6288, allocations: 23.97 kB / 0.731 GB, free: 8.949 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.629, allocations: 35.8 kB / 0.731 GB, free: 8.914 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.6291, allocations: 47.81 kB / 0.7311 GB, free: 8.867 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.6291, allocations: 4 kB / 0.7311 GB, free: 8.863 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.6293, allocations: 75.95 kB / 0.7311 GB, free: 8.789 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.305e-05/0.6294, allocations: 19.91 kB / 0.7312 GB, free: 8.77 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.783e-05/0.6295, allocations: 69.55 kB / 0.7312 GB, free: 8.695 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.6298, allocations: 181.4 kB / 0.7314 GB, free: 8.52 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6298, allocations: 0 / 0.7314 GB, free: 8.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.846e-06/0.6298, allocations: 0 / 0.7314 GB, free: 8.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.667e-06/0.6298, allocations: 0 / 0.7314 GB, free: 8.52 MB / 0.545 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.0008069/0.6306, allocations: 419.1 kB / 0.7318 GB, free: 8.062 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.6307, allocations: 8.031 kB / 0.7318 GB, free: 8.055 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.736e-05/0.6307, allocations: 8.844 kB / 0.7318 GB, free: 8.047 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.6309, allocations: 176.2 kB / 0.732 GB, free: 7.836 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-05/0.631, allocations: 38.25 kB / 0.732 GB, free: 7.793 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.6311, allocations: 8.375 kB / 0.732 GB, free: 7.785 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.6313, allocations: 108.3 kB / 0.7321 GB, free: 7.664 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.6313, allocations: 4 kB / 0.7321 GB, free: 7.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.6314, allocations: 3.984 kB / 0.7321 GB, free: 7.656 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.6314, allocations: 0 / 0.7321 GB, free: 7.656 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.6315, allocations: 43.98 kB / 0.7322 GB, free: 7.613 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008406/0.6323, allocations: 0.5243 MB / 0.7327 GB, free: 7.031 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005251/0.6329, allocations: 139.7 kB / 0.7328 GB, free: 6.867 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.256e-05/0.633, allocations: 46.66 kB / 0.7329 GB, free: 6.812 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.633, allocations: 0 / 0.7329 GB, free: 6.812 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003174/0.6333, allocations: 121.8 kB / 0.733 GB, free: 6.672 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.6334, allocations: 0 / 0.733 GB, free: 6.672 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.000392/0.6338, allocations: 141.5 kB / 0.7331 GB, free: 6.527 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.6339, allocations: 114.8 kB / 0.7332 GB, free: 6.391 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.634, allocations: 121.8 kB / 0.7333 GB, free: 6.262 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/0.6341, allocations: 33.7 kB / 0.7334 GB, free: 6.223 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.07e-05/0.6342, allocations: 92.52 kB / 0.7335 GB, free: 6.129 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.6342, allocations: 35.56 kB / 0.7335 GB, free: 6.094 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.6343, allocations: 21.7 kB / 0.7335 GB, free: 6.066 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.6345, allocations: 322.8 kB / 0.7338 GB, free: 5.742 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.699e-05/0.6346, allocations: 35.98 kB / 0.7339 GB, free: 5.707 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.247e-05/0.6346, allocations: 39.98 kB / 0.7339 GB, free: 5.668 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.6348, allocations: 76.08 kB / 0.734 GB, free: 5.594 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6348, allocations: 0 / 0.734 GB, free: 5.594 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002815/0.6351, allocations: 133.4 kB / 0.7341 GB, free: 5.457 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.6352, allocations: 9.719 kB / 0.7341 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.6352, allocations: 0 / 0.7341 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/0.6352, allocations: 0 / 0.7341 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.6353, allocations: 19.98 kB / 0.7341 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.6354, allocations: 0 / 0.7341 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.952e-05/0.6354, allocations: 12 kB / 0.7341 GB, free: 5.418 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.6355, allocations: 11.92 kB / 0.7341 GB, free: 5.406 MB / 0.545 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 (dayCon.not1.y,dayCon.sunRiseSet.nextSunSet,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunRise,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001465/0.6356, allocations: 122.3 kB / 0.7343 GB, free: 5.277 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.6357, allocations: 11.91 kB / 0.7343 GB, free: 5.266 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002784/0.6359, allocations: 117.9 kB / 0.7344 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.636, allocations: 4 kB / 0.7344 GB, free: 5.141 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.636, allocations: 3.938 kB / 0.7344 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.636, allocations: 8.25 kB / 0.7344 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.6363, allocations: 213.5 kB / 0.7346 GB, free: 4.871 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.6363, allocations: 8 kB / 0.7346 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.38e-05/0.6364, allocations: 23.98 kB / 0.7346 GB, free: 4.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.6364, allocations: 0 / 0.7346 GB, free: 4.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.6364, allocations: 0 / 0.7346 GB, free: 4.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.6364, allocations: 4 kB / 0.7346 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.6364, allocations: 0 / 0.7346 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.6368, allocations: 190.7 kB / 0.7348 GB, free: 4.625 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.6369, allocations: 96.98 kB / 0.7349 GB, free: 4.512 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.6369, allocations: 8 kB / 0.7349 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.942e-05/0.637, allocations: 7.984 kB / 0.7349 GB, free: 4.496 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.372e-05/0.6371, allocations: 19.92 kB / 0.7349 GB, free: 4.477 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.6371, allocations: 4 kB / 0.735 GB, free: 4.473 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001053/0.6372, allocations: 103 kB / 0.735 GB, free: 4.375 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6373, allocations: 3.938 kB / 0.7351 GB, free: 4.371 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003412/0.6376, allocations: 63.92 kB / 0.7351 GB, free: 4.309 MB / 0.545 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.not1.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003887/0.638, allocations: 155 kB / 0.7353 GB, free: 4.148 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002992/0.6383, allocations: 87.97 kB / 0.7353 GB, free: 4.062 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6383, allocations: 0 / 0.7353 GB, free: 4.062 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.6385, allocations: 55.84 kB / 0.7354 GB, free: 4.008 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.6388, allocations: 22.81 kB / 0.7354 GB, free: 3.988 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008393/0.6396, allocations: 271.2 kB / 0.7357 GB, free: 3.684 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006986/0.6403, allocations: 0.7043 MB / 0.7364 GB, free: 2.953 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.555e-05/0.6404, allocations: 12.55 kB / 0.7364 GB, free: 2.941 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.922e-05/0.6405, allocations: 15.44 kB / 0.7364 GB, free: 2.926 MB / 0.545 GB Notification: Performance of SimCode: time 7.21e-07/0.6405, allocations: 0 / 0.7364 GB, free: 2.926 MB / 0.545 GB Notification: Performance of Templates: time 0.005162/0.6457, allocations: 1.641 MB / 0.738 GB, free: 1.301 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) Environment - environmentSimulation: