Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.328/2.328, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001355/0.001355, allocations: 174.3 kB / 326.3 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.453/2.453, allocations: 205.4 MB / 0.5772 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009268/0.0009264, allocations: 86.91 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006376/0.0006378, allocations: 16.45 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2449, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001701/0.2467, allocations: 1.151 MB / 0.9006 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001609/0.2484, allocations: 0.8662 MB / 0.9015 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.341e-05/0.2485, allocations: 7.938 kB / 0.9015 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.133e-05/0.2485, allocations: 0 / 0.9015 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000193/0.2487, allocations: 19.84 kB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004245/0.2491, allocations: 103.7 kB / 0.9016 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.2493, allocations: 99.7 kB / 0.9017 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.2494, allocations: 19.97 kB / 0.9017 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.2496, allocations: 47.84 kB / 0.9017 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.2497, allocations: 35.83 kB / 0.9018 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.2497, allocations: 4 kB / 0.9018 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.2499, allocations: 75.94 kB / 0.9019 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.695e-05/0.25, allocations: 15.92 kB / 0.9019 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.25, allocations: 41.58 kB / 0.9019 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.2503, allocations: 132 kB / 0.902 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2503, allocations: 4 kB / 0.902 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.963e-06/0.2503, allocations: 0 / 0.902 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.2503, allocations: 4 kB / 0.902 GB, free: 62.9 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.0007694/0.2511, allocations: 407.1 kB / 0.9024 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.2512, allocations: 8.031 kB / 0.9024 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.619e-05/0.2512, allocations: 12.84 kB / 0.9025 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.2514, allocations: 180.2 kB / 0.9026 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.2515, allocations: 38.27 kB / 0.9027 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.2515, allocations: 8.375 kB / 0.9027 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.2517, allocations: 100.3 kB / 0.9028 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2518, allocations: 0 / 0.9028 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.2518, allocations: 4 kB / 0.9028 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.2518, allocations: 4 kB / 0.9028 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.252, allocations: 47.91 kB / 0.9028 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008368/0.2528, allocations: 0.5126 MB / 0.9033 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007133/0.2536, allocations: 139.7 kB / 0.9035 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.425e-05/0.2537, allocations: 42.66 kB / 0.9035 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.2537, allocations: 8 kB / 0.9035 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002543/0.254, allocations: 121.8 kB / 0.9036 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 3.106e-06/0.254, allocations: 0 / 0.9036 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0004271/0.2544, allocations: 129.5 kB / 0.9037 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.2545, allocations: 110.8 kB / 0.9038 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.2546, allocations: 129.9 kB / 0.904 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.2547, allocations: 33.7 kB / 0.904 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.2547, allocations: 88.33 kB / 0.9041 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.2548, allocations: 35.61 kB / 0.9041 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.285e-05/0.2548, allocations: 8 kB / 0.9041 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.123e-05/0.2549, allocations: 322.8 kB / 0.9044 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.255, allocations: 35.92 kB / 0.9045 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.2552, allocations: 55.75 kB / 0.9045 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.2553, allocations: 35.98 kB / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.2554, allocations: 0 / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000415/0.2558, allocations: 129.9 kB / 0.9047 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.2558, allocations: 7.938 kB / 0.9047 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.2558, allocations: 4 kB / 0.9047 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.2559, allocations: 0 / 0.9047 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.2561, allocations: 27.98 kB / 0.9047 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.567e-06/0.2561, allocations: 0 / 0.9047 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.2563, allocations: 12 kB / 0.9047 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.2563, allocations: 11.92 kB / 0.9047 GB, free: 59.85 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.0001208/0.2565, allocations: 125.7 kB / 0.9049 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.2565, allocations: 7.906 kB / 0.9049 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003331/0.2568, allocations: 117.9 kB / 0.905 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.2569, allocations: 3.938 kB / 0.905 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2569, allocations: 4 kB / 0.905 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-05/0.257, allocations: 100.9 kB / 0.9051 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/0.257, allocations: 11.94 kB / 0.9051 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.2572, allocations: 4 kB / 0.9051 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.595e-05/0.2572, allocations: 15.98 kB / 0.9051 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004159/0.2577, allocations: 367.4 kB / 0.9055 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003732/0.2581, allocations: 469 kB / 0.9059 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001118/0.2582, allocations: 47.97 kB / 0.906 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.066e-05/0.2583, allocations: 100.5 kB / 0.9061 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of Backend: time 1.232e-06/0.2583, allocations: 0 / 0.9061 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009406/0.2592, allocations: 184.3 kB / 0.9062 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0006243/0.2599, allocations: 0.6667 MB / 0.9069 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of Templates: time 0.005801/0.2657, allocations: 1.596 MB / 0.9084 GB, free: 55.95 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)