Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.652/2.652, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00189/0.001889, allocations: 188.7 kB / 325.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.399/2.399, allocations: 205.4 MB / 0.5767 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009755/0.0009754, allocations: 99.11 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000526/0.0005261, allocations: 12.62 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2026, allocations: 106.3 MB / 0.899 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001708/0.2044, allocations: 1.151 MB / 0.9002 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.206, allocations: 0.8622 MB / 0.901 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.2061, allocations: 4 kB / 0.901 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.996e-05/0.2061, allocations: 7.984 kB / 0.901 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.2063, allocations: 19.84 kB / 0.901 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.2067, allocations: 107.7 kB / 0.9011 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.2068, allocations: 99.69 kB / 0.9012 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.937e-05/0.207, allocations: 19.98 kB / 0.9012 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.2071, allocations: 39.84 kB / 0.9013 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.2072, allocations: 43.83 kB / 0.9013 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.2072, allocations: 4 kB / 0.9013 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.2074, allocations: 67.95 kB / 0.9014 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.705e-05/0.2075, allocations: 19.91 kB / 0.9014 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.659e-05/0.2075, allocations: 41.62 kB / 0.9014 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.2078, allocations: 132 kB / 0.9016 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2078, allocations: 0 / 0.9016 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2078, allocations: 0 / 0.9016 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.2078, allocations: 0 / 0.9016 GB, free: 62.79 MB / 0.6042 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.0007852/0.2086, allocations: 411.2 kB / 0.902 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.2086, allocations: 11.97 kB / 0.902 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.2087, allocations: 12.84 kB / 0.902 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.2088, allocations: 184.2 kB / 0.9022 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.796e-05/0.2089, allocations: 38.25 kB / 0.9022 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.209, allocations: 8.375 kB / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.2092, allocations: 102.2 kB / 0.9023 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.2092, allocations: 0 / 0.9023 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.2093, allocations: 3.984 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2093, allocations: 7.938 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.2094, allocations: 43.98 kB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007617/0.2102, allocations: 0.5126 MB / 0.9029 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008722/0.2111, allocations: 135.7 kB / 0.903 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.2112, allocations: 42.66 kB / 0.903 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/0.2113, allocations: 8.062 kB / 0.903 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003131/0.2116, allocations: 125.8 kB / 0.9032 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 2.645e-06/0.2116, allocations: 0 / 0.9032 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0005364/0.2122, allocations: 137.5 kB / 0.9033 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.2123, allocations: 110.8 kB / 0.9034 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.2124, allocations: 126 kB / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.2124, allocations: 29.7 kB / 0.9035 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.563e-05/0.2125, allocations: 92.31 kB / 0.9036 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.2126, allocations: 39.5 kB / 0.9037 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.592e-05/0.2126, allocations: 0 / 0.9037 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.287e-05/0.2127, allocations: 322.8 kB / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.2129, allocations: 31.98 kB / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.2131, allocations: 59.45 kB / 0.9041 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.2133, allocations: 36 kB / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2133, allocations: 0 / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004732/0.2138, allocations: 129.4 kB / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.2138, allocations: 8 kB / 0.9042 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.2139, allocations: 0 / 0.9042 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.2139, allocations: 0 / 0.9042 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002589/0.2142, allocations: 19.98 kB / 0.9043 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.2142, allocations: 0 / 0.9043 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.2144, allocations: 16.16 kB / 0.9043 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.2144, allocations: 15.98 kB / 0.9043 GB, free: 59.73 MB / 0.6042 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 0.0001247/0.2146, allocations: 128.9 kB / 0.9044 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.2146, allocations: 11.91 kB / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003958/0.215, allocations: 109.9 kB / 0.9045 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.2151, allocations: 8 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.2151, allocations: 0 / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.2151, allocations: 7.922 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.2154, allocations: 225.4 kB / 0.9048 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2154, allocations: 4 kB / 0.9048 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.2156, allocations: 12 kB / 0.9048 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.2156, allocations: 4 kB / 0.9048 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.2157, allocations: 7.984 kB / 0.9048 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.2157, allocations: 4 kB / 0.9048 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.2157, allocations: 0 / 0.9048 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004091/0.2161, allocations: 174.5 kB / 0.9049 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.794e-05/0.2162, allocations: 96.98 kB / 0.905 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.592e-05/0.2163, allocations: 8 kB / 0.905 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.2165, allocations: 8.297 kB / 0.9051 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.179e-05/0.2166, allocations: 19.92 kB / 0.9051 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.2166, allocations: 12 kB / 0.9051 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.486e-05/0.2167, allocations: 99.27 kB / 0.9052 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.11e-07/0.2167, allocations: 0 / 0.9052 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005838/0.2173, allocations: 55.94 kB / 0.9052 GB, free: 58.65 MB / 0.6042 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.0003453/0.2177, allocations: 154.1 kB / 0.9054 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004096/0.2181, allocations: 91.89 kB / 0.9055 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2181, allocations: 0 / 0.9055 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.2183, allocations: 55.92 kB / 0.9055 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.2188, allocations: 11.98 kB / 0.9055 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007096/0.2195, allocations: 265.7 kB / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.2197, allocations: 0.7004 MB / 0.9065 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001727/0.2199, allocations: 17.09 kB / 0.9065 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.474e-05/0.22, allocations: 23.44 kB / 0.9065 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of SimCode: time 9.32e-07/0.22, allocations: 0 / 0.9065 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of Templates: time 0.007817/0.2278, allocations: 1.561 MB / 0.908 GB, free: 55.72 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1)