Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.00118/0.00118, allocations: 106.5 kB / 16.36 MB, free: 6.258 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.001133/0.001133, allocations: 189.7 kB / 17.3 MB, free: 5.848 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.577/1.577, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.004/2.004, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.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.001478/0.001478, allocations: 63.91 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3146, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002539/0.3172, allocations: 0.74 MB / 0.7855 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00247/0.3197, allocations: 1.568 MB / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.616e-05/0.3198, allocations: 0 / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.804e-05/0.3199, allocations: 11.94 kB / 0.7871 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002239/0.3201, allocations: 23.78 kB / 0.7871 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004525/0.3206, allocations: 151.5 kB / 0.7872 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.3208, allocations: 119.6 kB / 0.7873 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.3209, allocations: 19.97 kB / 0.7874 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.3211, allocations: 47.86 kB / 0.7874 GB, free: 500 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.3212, allocations: 55.81 kB / 0.7874 GB, free: 444 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.3212, allocations: 12 kB / 0.7875 GB, free: 432 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.3214, allocations: 95.92 kB / 0.7876 GB, free: 336 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.662e-05/0.3215, allocations: 27.91 kB / 0.7876 GB, free: 308 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.137e-05/0.3215, allocations: 43.8 kB / 0.7876 GB, free: 264 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003132/0.3219, allocations: 203.5 kB / 0.7878 GB, free: 60 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3219, allocations: 3.938 kB / 0.7878 GB, free: 56 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3219, allocations: 0 / 0.7878 GB, free: 56 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.3219, allocations: 4 kB / 0.7878 GB, free: 52 kB / 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.586/0.9079, allocations: 416 kB / 0.7882 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.908, allocations: 7.875 kB / 0.7882 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.449e-05/0.9081, allocations: 11.45 kB / 0.7882 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.9082, allocations: 176.8 kB / 0.7884 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.239e-05/0.9083, allocations: 34.08 kB / 0.7884 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.9083, allocations: 9.094 kB / 0.7884 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.9085, allocations: 105.4 kB / 0.7885 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.9085, allocations: 5.438 kB / 0.7886 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.9086, allocations: 3.469 kB / 0.7886 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.9086, allocations: 2.688 kB / 0.7886 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.327e-05/0.9087, allocations: 43.33 kB / 0.7886 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005472/0.9092, allocations: 0.5169 MB / 0.7891 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000452/0.9097, allocations: 135.2 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.505e-05/0.9098, allocations: 47.42 kB / 0.7893 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.9098, allocations: 6.047 kB / 0.7893 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002616/0.9101, allocations: 114.8 kB / 0.7894 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.9101, allocations: 0 / 0.7894 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0003072/0.9104, allocations: 148.8 kB / 0.7895 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.9104, allocations: 108 kB / 0.7896 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.9106, allocations: 131.2 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.9106, allocations: 28.27 kB / 0.7898 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.9106, allocations: 94.23 kB / 0.7899 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.9107, allocations: 29.16 kB / 0.7899 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.9107, allocations: 36.69 kB / 0.7899 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.111e-05/0.9108, allocations: 323.8 kB / 0.7903 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.702e-05/0.9109, allocations: 34.92 kB / 0.7903 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.708e-05/0.911, allocations: 44.38 kB / 0.7903 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.9111, allocations: 77.77 kB / 0.7904 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.9111, allocations: 0.5312 kB / 0.7904 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002174/0.9113, allocations: 129 kB / 0.7905 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.9114, allocations: 6.188 kB / 0.7905 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.9114, allocations: 0.75 kB / 0.7905 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.9114, allocations: 0 / 0.7905 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.9115, allocations: 21.03 kB / 0.7906 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.9116, allocations: 7.359 kB / 0.7906 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.523e-05/0.9117, allocations: 15.72 kB / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.9117, allocations: 12.22 kB / 0.7906 GB, free: 46.98 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 8.253e-05/0.9118, allocations: 122.7 kB / 0.7907 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.026e-05/0.9118, allocations: 6.5 kB / 0.7907 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002302/0.912, allocations: 112.3 kB / 0.7908 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.9121, allocations: 0.5 kB / 0.7908 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.9121, allocations: 3.188 kB / 0.7908 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.828e-05/0.9121, allocations: 102.9 kB / 0.7909 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/0.9122, allocations: 7.266 kB / 0.7909 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.645e-05/0.9123, allocations: 10.75 kB / 0.7909 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/0.9123, allocations: 15.16 kB / 0.791 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003333/0.9127, allocations: 376.7 kB / 0.7913 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002678/0.9129, allocations: 471.5 kB / 0.7918 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.9e-05/0.913, allocations: 48.92 kB / 0.7918 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.401e-05/0.9131, allocations: 97.2 kB / 0.7919 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of Backend: time 6.52e-07/0.9131, allocations: 0 / 0.7919 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007998/0.9139, allocations: 187.9 kB / 0.7921 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004796/0.9144, allocations: 0.637 MB / 0.7927 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of Templates: time 0.004479/0.9189, allocations: 1.751 MB / 0.7944 GB, free: 45.3 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)