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.759/1.759, allocations: 288.4 MB / 303.7 MB, free: 8.059 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.001029/0.001029, allocations: 172.6 kB / 372.3 MB, free: 10.16 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.958/1.958, allocations: 205.4 MB / 0.631 GB, free: 9.941 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.0007955/0.0007953, allocations: 106.2 kB / 0.7444 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004922/0.0004922, allocations: 15.44 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3153, allocations: 115.3 MB / 0.9801 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001199/0.3166, allocations: 449.8 kB / 0.9806 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001853/0.3185, allocations: 1.496 MB / 0.982 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.174e-05/0.3186, allocations: 0 / 0.982 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.419e-05/0.3186, allocations: 7.922 kB / 0.982 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.3188, allocations: 15.86 kB / 0.982 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.3192, allocations: 112.4 kB / 0.9821 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.3193, allocations: 103.7 kB / 0.9822 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.3194, allocations: 12 kB / 0.9823 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.3196, allocations: 47.83 kB / 0.9823 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.238e-05/0.3197, allocations: 31.89 kB / 0.9823 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.3197, allocations: 7.938 kB / 0.9823 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.3198, allocations: 67.95 kB / 0.9824 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.3198, allocations: 11.98 kB / 0.9824 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.611e-05/0.3199, allocations: 69.47 kB / 0.9825 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.3201, allocations: 143.9 kB / 0.9826 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3201, allocations: 0 / 0.9826 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.425e-06/0.3201, allocations: 0 / 0.9826 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.958e-06/0.3201, allocations: 0 / 0.9826 GB, free: 24.81 MB / 0.6198 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.0006274/0.3207, allocations: 399.2 kB / 0.983 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.3208, allocations: 12.03 kB / 0.983 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.785e-05/0.3209, allocations: 8.844 kB / 0.983 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.321, allocations: 192.1 kB / 0.9832 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.171e-05/0.3211, allocations: 34.2 kB / 0.9832 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.3211, allocations: 8.375 kB / 0.9832 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.3213, allocations: 111.7 kB / 0.9833 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3213, allocations: 0 / 0.9833 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.3213, allocations: 8 kB / 0.9834 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3213, allocations: 4 kB / 0.9834 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.248e-05/0.3214, allocations: 39.92 kB / 0.9834 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005593/0.322, allocations: 0.5165 MB / 0.9839 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000426/0.3224, allocations: 135.7 kB / 0.984 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.527e-05/0.3225, allocations: 50.59 kB / 0.9841 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.3225, allocations: 8.062 kB / 0.9841 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000214/0.3228, allocations: 105.9 kB / 0.9842 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.034e-06/0.3228, allocations: 0 / 0.9842 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0003051/0.3231, allocations: 145.4 kB / 0.9843 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.3231, allocations: 110.8 kB / 0.9844 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.21e-05/0.3232, allocations: 129.8 kB / 0.9846 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.3233, allocations: 29.7 kB / 0.9846 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.483e-05/0.3233, allocations: 92.27 kB / 0.9847 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.3233, allocations: 31.55 kB / 0.9847 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.585e-06/0.3233, allocations: 4 kB / 0.9847 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.227e-05/0.3234, allocations: 322.8 kB / 0.985 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.691e-05/0.3235, allocations: 36.11 kB / 0.985 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.982e-05/0.3236, allocations: 55.59 kB / 0.9851 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.3237, allocations: 81.64 kB / 0.9852 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3238, allocations: 0 / 0.9852 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001923/0.324, allocations: 125.5 kB / 0.9853 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.324, allocations: 9.719 kB / 0.9853 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.324, allocations: 0 / 0.9853 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.324, allocations: 4 kB / 0.9853 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.3241, allocations: 19.98 kB / 0.9853 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3241, allocations: 0 / 0.9853 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.996e-05/0.3242, allocations: 19.86 kB / 0.9854 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.3243, allocations: 8 kB / 0.9854 GB, free: 21.71 MB / 0.6198 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.not1.y) * 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 7.869e-05/0.3243, allocations: 117.8 kB / 0.9855 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.3244, allocations: 15.83 kB / 0.9855 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002054/0.3246, allocations: 117.9 kB / 0.9856 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3246, allocations: 4 kB / 0.9856 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3246, allocations: 0 / 0.9856 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3246, allocations: 7.922 kB / 0.9856 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.3248, allocations: 221.8 kB / 0.9858 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3248, allocations: 0 / 0.9858 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.967e-05/0.3249, allocations: 20 kB / 0.9858 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3249, allocations: 4.281 kB / 0.9858 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.3249, allocations: 7.984 kB / 0.9859 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3249, allocations: 4 kB / 0.9859 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3249, allocations: 0 / 0.9859 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.3251, allocations: 174.5 kB / 0.986 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.027e-05/0.3252, allocations: 100.9 kB / 0.9861 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.3252, allocations: 12 kB / 0.9861 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.826e-05/0.3253, allocations: 7.984 kB / 0.9861 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.3254, allocations: 19.92 kB / 0.9862 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.3254, allocations: 4 kB / 0.9862 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.484e-05/0.3255, allocations: 99.27 kB / 0.9863 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3255, allocations: 0 / 0.9863 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002661/0.3257, allocations: 51.94 kB / 0.9863 GB, free: 20.63 MB / 0.6198 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 (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.0002425/0.326, allocations: 159.1 kB / 0.9865 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002133/0.3262, allocations: 91.89 kB / 0.9865 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3262, allocations: 0 / 0.9865 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.209e-05/0.3263, allocations: 51.92 kB / 0.9866 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.3265, allocations: 17.8 kB / 0.9866 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004372/0.327, allocations: 263.1 kB / 0.9869 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.3271, allocations: 0.7004 MB / 0.9875 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.407e-05/0.3272, allocations: 16.88 kB / 0.9876 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.946e-05/0.3273, allocations: 23.38 kB / 0.9876 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.3273, allocations: 0 / 0.9876 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of Templates: time 0.003997/0.3313, allocations: 1.559 MB / 0.9891 GB, free: 17.7 MB / 0.6198 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)