Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007451/0.000745, allocations: 90.83 kB / 15.06 MB, free: 1.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008301/0.00083, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.784/1.784, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005176/0.000518, allocations: 13.84 kB / 0.6738 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2416, allocations: 116.3 MB / 0.7874 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001011/0.2427, allocations: 0.591 MB / 0.788 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002749/0.2454, allocations: 2.408 MB / 0.7903 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.346e-05/0.2455, allocations: 3.938 kB / 0.7903 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.26e-05/0.2455, allocations: 3.938 kB / 0.7903 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.2457, allocations: 43.69 kB / 0.7904 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007654/0.2465, allocations: 410.8 kB / 0.7908 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.2468, allocations: 275.1 kB / 0.791 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.088e-05/0.2469, allocations: 17.61 kB / 0.7911 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.247, allocations: 119.7 kB / 0.7912 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.2472, allocations: 143.5 kB / 0.7913 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.2473, allocations: 20 kB / 0.7913 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004578/0.2477, allocations: 279.8 kB / 0.7916 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.616e-05/0.2478, allocations: 63.8 kB / 0.7917 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.148e-05/0.2479, allocations: 65.61 kB / 0.7917 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004431/0.2484, allocations: 399 kB / 0.7921 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.2484, allocations: 4 kB / 0.7921 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2484, allocations: 0 / 0.7921 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.2484, allocations: 0 / 0.7921 GB, free: 7.035 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001241/0.2496, allocations: 0.6293 MB / 0.7927 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.2497, allocations: 8.031 kB / 0.7927 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.441e-05/0.2497, allocations: 50.55 kB / 0.7928 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.367e-05/0.2498, allocations: 19.81 kB / 0.7928 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.2499, allocations: 199.4 kB / 0.793 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.2501, allocations: 130.8 kB / 0.7931 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.2501, allocations: 16 kB / 0.7931 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003507/0.2505, allocations: 243.6 kB / 0.7934 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.2505, allocations: 4 kB / 0.7934 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.2505, allocations: 4 kB / 0.7934 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.2506, allocations: 4 kB / 0.7934 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002133/0.2508, allocations: 115.7 kB / 0.7935 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004757/0.2513, allocations: 411.1 kB / 0.7939 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.2525, allocations: 491.3 kB / 0.7943 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002906/0.2528, allocations: 154.3 kB / 0.7945 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.509e-05/0.2529, allocations: 19.91 kB / 0.7945 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004348/0.2533, allocations: 307.7 kB / 0.7948 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 2.064e-06/0.2533, allocations: 0 / 0.7948 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0007371/0.2541, allocations: 409.2 kB / 0.7952 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001698/0.2542, allocations: 354.6 kB / 0.7955 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.2544, allocations: 167.2 kB / 0.7957 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/0.2544, allocations: 37.7 kB / 0.7957 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.2545, allocations: 97.12 kB / 0.7958 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.2546, allocations: 118.4 kB / 0.7959 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.033e-05/0.2546, allocations: 4 kB / 0.7959 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.2548, allocations: 338.8 kB / 0.7963 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/0.255, allocations: 117.1 kB / 0.7964 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.2553, allocations: 168.9 kB / 0.7965 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.2556, allocations: 114.9 kB / 0.7966 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2556, allocations: 4 kB / 0.7966 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006521/0.2562, allocations: 367.9 kB / 0.797 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.2563, allocations: 12 kB / 0.797 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.2563, allocations: 0 / 0.797 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.2563, allocations: 4 kB / 0.797 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003477/0.2566, allocations: 79.81 kB / 0.7971 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.2567, allocations: 4 kB / 0.7971 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.2569, allocations: 59.56 kB / 0.7971 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.232e-05/0.257, allocations: 23.98 kB / 0.7972 GB, free: 1.27 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition8,$whenCondition7,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,$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.0001481/0.2571, allocations: 157.7 kB / 0.7973 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.792e-05/0.2572, allocations: 19.81 kB / 0.7973 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006542/0.2579, allocations: 371.5 kB / 0.7977 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.2579, allocations: 8 kB / 0.7977 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.2579, allocations: 4 kB / 0.7977 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.2579, allocations: 11.92 kB / 0.7977 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003699/0.2583, allocations: 345.1 kB / 0.798 GB, free: 320 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.2583, allocations: 4 kB / 0.798 GB, free: 316 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.2586, allocations: 75.83 kB / 0.7981 GB, free: 240 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.2586, allocations: 8 kB / 0.7981 GB, free: 232 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.2586, allocations: 20 kB / 0.7981 GB, free: 212 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.256e-06/0.2586, allocations: 11.92 kB / 0.7982 GB, free: 200 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.2587, allocations: 4 kB / 0.7982 GB, free: 196 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007093/0.2594, allocations: 497.9 kB / 0.7986 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.2595, allocations: 148.6 kB / 0.7988 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.319e-05/0.2596, allocations: 16 kB / 0.7988 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.2599, allocations: 39.97 kB / 0.7988 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.26, allocations: 55.83 kB / 0.7989 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.26, allocations: 23.98 kB / 0.7989 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 9.726e-05/0.2601, allocations: 128.5 kB / 0.799 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2601, allocations: 0 / 0.799 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006586/0.2608, allocations: 219.7 kB / 0.7992 GB, free: 15.01 MB / 0.6231 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,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 8 (sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.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.001502/0.2623, allocations: 1.247 MB / 0.8005 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005942/0.2629, allocations: 315.6 kB / 0.8008 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.2629, allocations: 4 kB / 0.8008 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002844/0.2632, allocations: 187.7 kB / 0.8009 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.2635, allocations: 32.12 kB / 0.801 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/0.2661, allocations: 1.553 MB / 0.8025 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.2665, allocations: 0.7614 MB / 0.8032 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002335/0.2667, allocations: 59.23 kB / 0.8033 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.2669, allocations: 95.39 kB / 0.8034 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of SimCode: time 3.1e-07/0.2669, allocations: 0 / 0.8034 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02055/0.2875, allocations: 7.318 MB / 0.8105 GB, free: 3.43 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/0.2877, allocations: 198.2 kB / 0.8107 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.164/2.451, allocations: 0 / 0.8107 GB, free: 3.188 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) Environment - environmentSimulation: