Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.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.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",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.001031/0.001031, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001347/0.001347, allocations: 177.3 kB / 15.94 MB, free: 228 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.723/1.723, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.678/1.678, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0005328/0.0005329, allocations: 12.62 kB / 0.6737 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.253, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.0009608/0.254, allocations: 0.595 MB / 0.7878 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002869/0.2569, allocations: 2.401 MB / 0.7902 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.823e-05/0.257, allocations: 7.938 kB / 0.7902 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.312e-05/0.257, allocations: 7.938 kB / 0.7902 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002407/0.2572, allocations: 47.83 kB / 0.7902 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000976/0.2582, allocations: 407 kB / 0.7906 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.2585, allocations: 187.6 kB / 0.7908 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.185e-05/0.2585, allocations: 21.59 kB / 0.7908 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002564/0.2588, allocations: 147.6 kB / 0.791 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.259, allocations: 139.6 kB / 0.7911 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.259, allocations: 12 kB / 0.7911 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006528/0.2597, allocations: 299.6 kB / 0.7914 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.492e-05/0.2598, allocations: 51.86 kB / 0.7914 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.602e-05/0.2598, allocations: 57.64 kB / 0.7915 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005014/0.2603, allocations: 403 kB / 0.7919 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2603, allocations: 4 kB / 0.7919 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.02e-06/0.2604, allocations: 0 / 0.7919 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2604, allocations: 7.875 kB / 0.7919 GB, free: 7.086 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.00142/0.2618, allocations: 0.6293 MB / 0.7925 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.2618, allocations: 12.03 kB / 0.7925 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.922e-05/0.2619, allocations: 46.55 kB / 0.7926 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.871e-05/0.262, allocations: 19.81 kB / 0.7926 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.2622, allocations: 195.4 kB / 0.7928 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/0.2624, allocations: 126.8 kB / 0.7929 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/0.2624, allocations: 20 kB / 0.7929 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/0.2627, allocations: 239.7 kB / 0.7931 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.2628, allocations: 4 kB / 0.7931 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.2628, allocations: 8 kB / 0.7931 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.2628, allocations: 4 kB / 0.7931 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002126/0.263, allocations: 111.7 kB / 0.7933 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004325/0.2635, allocations: 403.1 kB / 0.7936 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.2648, allocations: 499.6 kB / 0.7941 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.219e-05/0.2649, allocations: 7.938 kB / 0.7941 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005004/0.2654, allocations: 319.7 kB / 0.7944 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=40): time 2.034e-06/0.2654, allocations: 0 / 0.7944 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40): time 0.0008496/0.2663, allocations: 408.9 kB / 0.7948 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002038/0.2665, allocations: 354.6 kB / 0.7952 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.2667, allocations: 171.2 kB / 0.7953 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.161e-05/0.2667, allocations: 41.7 kB / 0.7954 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.111e-05/0.2668, allocations: 93.14 kB / 0.7954 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.2669, allocations: 110.4 kB / 0.7956 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/0.2669, allocations: 12 kB / 0.7956 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.2671, allocations: 330.8 kB / 0.7959 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002682/0.2674, allocations: 117 kB / 0.796 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002959/0.2677, allocations: 172.9 kB / 0.7962 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.268, allocations: 119.2 kB / 0.7963 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.268, allocations: 0 / 0.7963 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007228/0.2687, allocations: 369 kB / 0.7966 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.2687, allocations: 4 kB / 0.7966 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2687, allocations: 0 / 0.7966 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.2688, allocations: 8 kB / 0.7966 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003753/0.2691, allocations: 83.81 kB / 0.7967 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.2692, allocations: 0 / 0.7967 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/0.2695, allocations: 67.5 kB / 0.7968 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.2695, allocations: 19.98 kB / 0.7968 GB, free: 1.516 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.0001783/0.2697, allocations: 157.7 kB / 0.7969 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.827e-05/0.2697, allocations: 27.8 kB / 0.797 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006771/0.2704, allocations: 367.9 kB / 0.7973 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.2704, allocations: 12.03 kB / 0.7973 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.2705, allocations: 4 kB / 0.7973 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.548e-05/0.2705, allocations: 4 kB / 0.7973 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004913/0.271, allocations: 353.1 kB / 0.7977 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.271, allocations: 4 kB / 0.7977 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002848/0.2713, allocations: 71.84 kB / 0.7978 GB, free: 488 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.2713, allocations: 4 kB / 0.7978 GB, free: 484 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/0.2713, allocations: 19.98 kB / 0.7978 GB, free: 464 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.2714, allocations: 4 kB / 0.7978 GB, free: 460 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.2714, allocations: 8 kB / 0.7978 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007825/0.2721, allocations: 0.6138 MB / 0.7984 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.2724, allocations: 156.6 kB / 0.7985 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.268e-05/0.2724, allocations: 12 kB / 0.7985 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.2727, allocations: 43.97 kB / 0.7986 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.2728, allocations: 47.88 kB / 0.7986 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-05/0.2728, allocations: 27.94 kB / 0.7987 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001006/0.2729, allocations: 132.5 kB / 0.7988 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2729, allocations: 0 / 0.7988 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006351/0.2736, allocations: 215.7 kB / 0.799 GB, free: 15.06 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.001912/0.2755, allocations: 2.126 MB / 0.8011 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006399/0.2762, allocations: 326.3 kB / 0.8014 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.2762, allocations: 4 kB / 0.8014 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002852/0.2765, allocations: 187.7 kB / 0.8016 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.2766, allocations: 20.17 kB / 0.8016 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.2784, allocations: 1.44 MB / 0.803 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.2787, allocations: 0.7652 MB / 0.8037 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002213/0.279, allocations: 58.19 kB / 0.8038 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.2791, allocations: 91.39 kB / 0.8039 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of SimCode: time 6.61e-07/0.2791, allocations: 0 / 0.8039 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02987/0.309, allocations: 7.297 MB / 0.811 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000257/0.3093, allocations: 215.1 kB / 0.8112 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.158/2.467, allocations: 3.938 kB / 0.8112 GB, free: 2.488 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime_fmu --startTime=-43200 --stopTime=259200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) Environment - environmentSimulation: