Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.598/2.598, allocations: 287.5 MB / 302.4 MB, free: 8.25 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.001997/0.001997, allocations: 193.2 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.243/2.243, allocations: 205.4 MB / 0.6297 GB, free: 10.64 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.001001/0.001001, allocations: 90.41 kB / 0.743 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004878/0.0004881, allocations: 12.05 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2266, allocations: 115.3 MB / 0.9785 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001166/0.2278, allocations: 0.5794 MB / 0.979 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003562/0.2315, allocations: 2.326 MB / 0.9813 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.2317, allocations: 3.938 kB / 0.9813 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.349e-05/0.2317, allocations: 7.922 kB / 0.9813 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.232, allocations: 51.67 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.2332, allocations: 363 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003405/0.2336, allocations: 259.2 kB / 0.982 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.662e-05/0.2337, allocations: 17.56 kB / 0.982 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002491/0.2339, allocations: 127.6 kB / 0.9821 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.2342, allocations: 131.5 kB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.687e-05/0.2343, allocations: 12 kB / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008687/0.2351, allocations: 271.8 kB / 0.9825 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.193e-05/0.2352, allocations: 55.8 kB / 0.9825 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.371e-05/0.2353, allocations: 65.61 kB / 0.9826 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006937/0.236, allocations: 379.1 kB / 0.983 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.236, allocations: 0 / 0.983 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.404e-06/0.2361, allocations: 0 / 0.983 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.2361, allocations: 4 kB / 0.983 GB, free: 23.63 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001889/0.238, allocations: 0.6224 MB / 0.9836 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.238, allocations: 16.02 kB / 0.9836 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.149e-05/0.2381, allocations: 46.55 kB / 0.9836 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.121e-05/0.2382, allocations: 27.75 kB / 0.9837 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.2383, allocations: 182.8 kB / 0.9838 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/0.2385, allocations: 130.7 kB / 0.984 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.059e-05/0.2386, allocations: 16 kB / 0.984 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004697/0.2391, allocations: 255.5 kB / 0.9842 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.2391, allocations: 0 / 0.9842 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.2392, allocations: 11.98 kB / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-06/0.2392, allocations: 4 kB / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003601/0.2395, allocations: 119.7 kB / 0.9844 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.2406, allocations: 0.9589 MB / 0.9853 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002409/0.2431, allocations: 495.1 kB / 0.9858 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003243/0.2435, allocations: 150.5 kB / 0.9859 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.625e-05/0.2435, allocations: 15.92 kB / 0.9859 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005892/0.2441, allocations: 304 kB / 0.9862 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 4.489e-06/0.2441, allocations: 0 / 0.9862 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.001225/0.2454, allocations: 401.9 kB / 0.9866 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.2455, allocations: 358.5 kB / 0.9869 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.2457, allocations: 180.8 kB / 0.9871 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.389e-05/0.2458, allocations: 41.7 kB / 0.9871 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.924e-05/0.2459, allocations: 104.9 kB / 0.9872 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.246, allocations: 110.5 kB / 0.9874 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.246, allocations: 8 kB / 0.9874 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.948e-05/0.2461, allocations: 334.8 kB / 0.9877 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000423/0.2466, allocations: 109.1 kB / 0.9878 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004474/0.247, allocations: 184.3 kB / 0.988 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004644/0.2475, allocations: 111.9 kB / 0.9881 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.2475, allocations: 4 kB / 0.9881 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001155/0.2487, allocations: 365 kB / 0.9884 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.2487, allocations: 14.12 kB / 0.9884 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.2488, allocations: 4 kB / 0.9884 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/0.2488, allocations: 4 kB / 0.9884 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006865/0.2495, allocations: 79.81 kB / 0.9885 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.2495, allocations: 4 kB / 0.9885 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005918/0.2501, allocations: 63.66 kB / 0.9886 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.583e-05/0.2502, allocations: 15.98 kB / 0.9886 GB, free: 17.28 MB / 0.6198 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.0002155/0.2504, allocations: 159.8 kB / 0.9887 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.212e-05/0.2505, allocations: 23.72 kB / 0.9888 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.2516, allocations: 369.8 kB / 0.9891 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.2516, allocations: 8 kB / 0.9891 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.2516, allocations: 7.984 kB / 0.9891 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.2516, allocations: 4 kB / 0.9891 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005004/0.2522, allocations: 349.1 kB / 0.9895 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.2522, allocations: 8 kB / 0.9895 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005689/0.2528, allocations: 75.84 kB / 0.9896 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.204e-05/0.2528, allocations: 4.375 kB / 0.9896 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-05/0.2528, allocations: 19.98 kB / 0.9896 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/0.2529, allocations: 11.95 kB / 0.9896 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.2529, allocations: 7.938 kB / 0.9896 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.2539, allocations: 485.6 kB / 0.9901 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002065/0.2541, allocations: 148.6 kB / 0.9902 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.072e-05/0.2542, allocations: 23.98 kB / 0.9902 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004518/0.2547, allocations: 27.98 kB / 0.9903 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.2548, allocations: 55.89 kB / 0.9903 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-05/0.2549, allocations: 27.98 kB / 0.9903 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001282/0.255, allocations: 131.2 kB / 0.9905 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.31e-07/0.2551, allocations: 0 / 0.9905 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008057/0.2559, allocations: 200.2 kB / 0.9906 GB, free: 15.04 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition8,$whenCondition7,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp,$whenCondition6,$whenCondition5,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition4,$whenCondition3,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition2,$whenCondition1,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp) * Number of discrete states: 8 (sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00189/0.2578, allocations: 1.236 MB / 0.9919 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001019/0.2588, allocations: 315.5 kB / 0.9922 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.2589, allocations: 0 / 0.9922 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004481/0.2593, allocations: 192.5 kB / 0.9923 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.2597, allocations: 32.11 kB / 0.9924 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/0.2634, allocations: 1.532 MB / 0.9939 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.2637, allocations: 0.7575 MB / 0.9946 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003921/0.2641, allocations: 55.67 kB / 0.9947 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002578/0.2643, allocations: 91.39 kB / 0.9947 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of SimCode: time 1.373e-06/0.2643, allocations: 0 / 0.9947 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03146/0.2958, allocations: 7.209 MB / 1.002 GB, free: 3.602 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002551/0.2961, allocations: 190.6 kB / 1.002 GB, free: 3.367 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.978/3.274, allocations: 0 / 1.002 GB, free: 3.367 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)