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.01006/0.01006, allocations: 101.2 kB / 15.73 MB, free: 6.039 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.001733/0.001733, allocations: 189.1 kB / 16.67 MB, free: 5.973 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.739/1.739, allocations: 205.1 MB / 222.5 MB, free: 4.391 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.807/1.807, allocations: 251.7 MB / 0.5094 GB, free: 3.047 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.001568/0.001568, allocations: 71.89 kB / 0.7257 GB, free: 9.074 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3233, allocations: 104.7 MB / 0.828 GB, free: 264 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.003164/0.3266, allocations: 0.7383 MB / 0.8287 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003055/0.3297, allocations: 1.568 MB / 0.8303 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.057e-05/0.3298, allocations: 0 / 0.8303 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.674e-05/0.3299, allocations: 7.875 kB / 0.8303 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002498/0.3302, allocations: 23.86 kB / 0.8303 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004721/0.3307, allocations: 155.5 kB / 0.8304 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.3309, allocations: 119.6 kB / 0.8306 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.331, allocations: 19.92 kB / 0.8306 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.3312, allocations: 59.77 kB / 0.8306 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.3313, allocations: 55.75 kB / 0.8307 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.3314, allocations: 12 kB / 0.8307 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002233/0.3316, allocations: 91.94 kB / 0.8308 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.282e-05/0.3317, allocations: 31.89 kB / 0.8308 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.451e-05/0.3317, allocations: 39.86 kB / 0.8309 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003347/0.3321, allocations: 191.5 kB / 0.831 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3321, allocations: 0 / 0.831 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3321, allocations: 0 / 0.831 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.3321, allocations: 0 / 0.831 GB, free: 13.14 MB / 0.6544 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.001007/0.3331, allocations: 435 kB / 0.8315 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/0.3332, allocations: 12.03 kB / 0.8315 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.643e-05/0.3333, allocations: 8.844 kB / 0.8315 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.3335, allocations: 184.1 kB / 0.8316 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.165e-05/0.3336, allocations: 38.27 kB / 0.8317 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.3336, allocations: 4.375 kB / 0.8317 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/0.3339, allocations: 108.3 kB / 0.8318 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.3339, allocations: 0 / 0.8318 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.334, allocations: 4 kB / 0.8318 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.334, allocations: 0 / 0.8318 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.3341, allocations: 47.92 kB / 0.8318 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009205/0.335, allocations: 0.5204 MB / 0.8323 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005596/0.3356, allocations: 135.7 kB / 0.8325 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.443e-05/0.3357, allocations: 42.66 kB / 0.8325 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.3358, allocations: 12.05 kB / 0.8325 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003209/0.3361, allocations: 117.9 kB / 0.8326 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.3361, allocations: 0 / 0.8326 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0004478/0.3365, allocations: 141.5 kB / 0.8328 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.664e-05/0.3367, allocations: 110.8 kB / 0.8329 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.3368, allocations: 117.8 kB / 0.833 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.3368, allocations: 29.7 kB / 0.833 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.548e-05/0.3369, allocations: 96.34 kB / 0.8331 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.337, allocations: 23.62 kB / 0.8331 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.802e-05/0.3371, allocations: 45.81 kB / 0.8332 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3372, allocations: 322.8 kB / 0.8335 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.474e-05/0.3373, allocations: 31.98 kB / 0.8335 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.155e-05/0.3374, allocations: 47 kB / 0.8336 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.3376, allocations: 76.78 kB / 0.8336 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3376, allocations: 0 / 0.8336 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002656/0.3379, allocations: 121.6 kB / 0.8338 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.3379, allocations: 4 kB / 0.8338 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.338, allocations: 7.938 kB / 0.8338 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/0.338, allocations: 7.938 kB / 0.8338 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.3382, allocations: 27.91 kB / 0.8338 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.3382, allocations: 4 kB / 0.8338 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.382e-05/0.3383, allocations: 11.84 kB / 0.8338 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.3383, allocations: 7.938 kB / 0.8338 GB, free: 9.988 MB / 0.6544 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.0001411/0.3385, allocations: 121.8 kB / 0.8339 GB, free: 9.859 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.3385, allocations: 7.906 kB / 0.8339 GB, free: 9.852 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.3388, allocations: 114 kB / 0.8341 GB, free: 9.734 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.3388, allocations: 4 kB / 0.8341 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.976e-06/0.3388, allocations: 3.984 kB / 0.8341 GB, free: 9.727 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.3388, allocations: 0 / 0.8341 GB, free: 9.727 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.3391, allocations: 225.4 kB / 0.8343 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.3391, allocations: 4 kB / 0.8343 GB, free: 9.453 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.323e-05/0.3392, allocations: 15.94 kB / 0.8343 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.3392, allocations: 8 kB / 0.8343 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.3392, allocations: 3.984 kB / 0.8343 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.3392, allocations: 4.312 kB / 0.8343 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3393, allocations: 0 / 0.8343 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.3395, allocations: 181.7 kB / 0.8345 GB, free: 9.223 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.74e-05/0.3396, allocations: 97.23 kB / 0.8346 GB, free: 9.109 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.3397, allocations: 8 kB / 0.8346 GB, free: 9.102 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.615e-05/0.3398, allocations: 7.984 kB / 0.8346 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.229e-05/0.3399, allocations: 27.84 kB / 0.8346 GB, free: 9.066 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.3399, allocations: 4 kB / 0.8346 GB, free: 9.062 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.971e-05/0.34, allocations: 102.6 kB / 0.8347 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.34, allocations: 0 / 0.8347 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003364/0.3403, allocations: 55.94 kB / 0.8348 GB, free: 8.91 MB / 0.6544 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.0003413/0.3407, allocations: 159.1 kB / 0.8349 GB, free: 8.746 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002798/0.341, allocations: 99.84 kB / 0.835 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.341, allocations: 0 / 0.835 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.3411, allocations: 51.92 kB / 0.8351 GB, free: 8.598 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.3413, allocations: 17.2 kB / 0.8351 GB, free: 8.586 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005874/0.3419, allocations: 233.2 kB / 0.8353 GB, free: 8.32 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.3423, allocations: 0.7117 MB / 0.836 GB, free: 7.582 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.831e-05/0.3424, allocations: 12.55 kB / 0.836 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.674e-05/0.3424, allocations: 19.44 kB / 0.836 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.3424, allocations: 4 kB / 0.836 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of Templates: time 0.005992/0.3484, allocations: 1.745 MB / 0.8377 GB, free: 5.82 MB / 0.6544 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 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)