Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.511/2.511, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001375/0.001375, allocations: 181.5 kB / 326.3 MB, free: 2.836 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.521/2.521, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.003043/0.003043, allocations: 86.98 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006495/0.0006498, allocations: 13.12 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2231, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001953/0.2251, allocations: 1.372 MB / 0.9008 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003317/0.2285, allocations: 1.875 MB / 0.9027 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.2287, allocations: 7.875 kB / 0.9027 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.705e-05/0.2287, allocations: 7.922 kB / 0.9027 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002853/0.229, allocations: 47.67 kB / 0.9027 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.2304, allocations: 378.9 kB / 0.9031 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003161/0.2307, allocations: 251.2 kB / 0.9033 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.101e-05/0.2308, allocations: 17.67 kB / 0.9034 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.2311, allocations: 123.6 kB / 0.9035 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.2313, allocations: 135.6 kB / 0.9036 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.02e-05/0.2314, allocations: 16 kB / 0.9036 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007655/0.2321, allocations: 267.7 kB / 0.9039 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.32e-05/0.2322, allocations: 51.86 kB / 0.9039 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.142e-05/0.2323, allocations: 65.56 kB / 0.904 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006529/0.233, allocations: 375.4 kB / 0.9043 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.233, allocations: 0 / 0.9043 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.246e-06/0.233, allocations: 4 kB / 0.9043 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.233, allocations: 0 / 0.9043 GB, free: 60.53 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001899/0.2349, allocations: 0.6225 MB / 0.905 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.235, allocations: 8.031 kB / 0.905 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.169e-05/0.2351, allocations: 20.75 kB / 0.905 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.2352, allocations: 192.1 kB / 0.9052 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000176/0.2354, allocations: 131.4 kB / 0.9053 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.996e-05/0.2355, allocations: 16.38 kB / 0.9053 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004682/0.236, allocations: 255.6 kB / 0.9056 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.236, allocations: 7.938 kB / 0.9056 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.497e-05/0.2361, allocations: 4 kB / 0.9056 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.2361, allocations: 4 kB / 0.9056 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003718/0.2365, allocations: 119.8 kB / 0.9057 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.2375, allocations: 0.9511 MB / 0.9066 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00242/0.24, allocations: 495.2 kB / 0.9071 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/0.2403, allocations: 158.3 kB / 0.9072 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.627e-05/0.2404, allocations: 11.98 kB / 0.9072 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005732/0.241, allocations: 308.4 kB / 0.9075 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 4.428e-06/0.241, allocations: 0 / 0.9075 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.001202/0.2422, allocations: 401.4 kB / 0.9079 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.2424, allocations: 350.1 kB / 0.9083 GB, free: 56 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.2426, allocations: 176.3 kB / 0.9084 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.347e-05/0.2427, allocations: 45.64 kB / 0.9085 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.727e-05/0.2428, allocations: 112.9 kB / 0.9086 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.2429, allocations: 110.5 kB / 0.9087 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.2429, allocations: 12 kB / 0.9087 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.789e-05/0.243, allocations: 334.8 kB / 0.909 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004341/0.2435, allocations: 105.1 kB / 0.9091 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004537/0.2439, allocations: 184.3 kB / 0.9093 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004944/0.2445, allocations: 107.9 kB / 0.9094 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.2445, allocations: 0 / 0.9094 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001172/0.2457, allocations: 365.9 kB / 0.9097 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.2457, allocations: 4 kB / 0.9097 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.2457, allocations: 8 kB / 0.9098 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.2458, allocations: 4 kB / 0.9098 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007003/0.2465, allocations: 79.81 kB / 0.9098 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.88e-05/0.2465, allocations: 4 kB / 0.9098 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005782/0.2471, allocations: 63.7 kB / 0.9099 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.793e-05/0.2472, allocations: 19.92 kB / 0.9099 GB, free: 54.24 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition2,$whenCondition1,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition8,$whenCondition7,$PRE.sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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.000232/0.2474, allocations: 165.7 kB / 0.9101 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.497e-05/0.2475, allocations: 19.81 kB / 0.9101 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.2486, allocations: 362.8 kB / 0.9104 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/0.2486, allocations: 11.92 kB / 0.9104 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.2486, allocations: 0 / 0.9104 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/0.2488, allocations: 152.5 kB / 0.9106 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.111e-05/0.2489, allocations: 19.94 kB / 0.9106 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004732/0.2494, allocations: 43.97 kB / 0.9107 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.2496, allocations: 44 kB / 0.9107 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001421/0.251, allocations: 1.352 MB / 0.912 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001174/0.2522, allocations: 1.389 MB / 0.9134 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003866/0.2527, allocations: 163.8 kB / 0.9135 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001296/0.2528, allocations: 131.8 kB / 0.9137 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of Backend: time 5.11e-07/0.2528, allocations: 0 / 0.9137 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002742/0.2556, allocations: 458.5 kB / 0.9141 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001061/0.2567, allocations: 0.8731 MB / 0.9149 GB, free: 48.96 MB / 0.6042 GB Notification: Performance of Templates: time 0.01513/0.2718, allocations: 5.241 MB / 0.9201 GB, free: 43.72 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)