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/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.732/1.732, allocations: 289.9 MB / 297.4 MB, free: 6.348 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.001032/0.001032, allocations: 180.9 kB / 366.7 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.811/1.811, allocations: 205.3 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009371/0.0009369, allocations: 85.34 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.26e-05/2.271e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.881/0.8811, allocations: 116.3 MB / 0.9734 GB, free: 76.06 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1994/1.081, allocations: 139.1 MB / 1.109 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002049/1.081, allocations: 71.95 kB / 1.109 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03366/1.115, allocations: 10.32 MB / 1.119 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.633e-06/1.115, allocations: 0 / 1.119 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.434e-05/1.115, allocations: 4 kB / 1.119 GB, free: 0.6836 MB / 0.7136 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.00168/1.116, allocations: 0.621 MB / 1.12 GB, free: 20 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/1.116, allocations: 8.031 kB / 1.12 GB, free: 12 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/1.116, allocations: 19.98 kB / 1.12 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/1.117, allocations: 192.9 kB / 1.12 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/1.117, allocations: 4 kB / 1.12 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.82e-05/1.117, allocations: 20 kB / 1.12 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002382/1.117, allocations: 83.95 kB / 1.12 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003058/1.117, allocations: 216.6 kB / 1.12 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/1.117, allocations: 0 / 1.12 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/1.117, allocations: 7.984 kB / 1.12 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/1.117, allocations: 8 kB / 1.12 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004707/1.118, allocations: 356.1 kB / 1.121 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/1.119, allocations: 479.7 kB / 1.121 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/1.119, allocations: 146.3 kB / 1.121 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.084e-05/1.12, allocations: 11.98 kB / 1.121 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003806/1.12, allocations: 300.8 kB / 1.122 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=40): time 3.908e-06/1.12, allocations: 0 / 1.122 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.002668/1.123, allocations: 0.5235 MB / 1.122 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002008/1.123, allocations: 358.2 kB / 1.123 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/1.123, allocations: 146.4 kB / 1.123 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.279e-05/1.123, allocations: 33.7 kB / 1.123 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.893e-05/1.123, allocations: 93.44 kB / 1.123 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/1.123, allocations: 106.5 kB / 1.123 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/1.123, allocations: 4 kB / 1.123 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.124, allocations: 330.8 kB / 1.123 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/1.124, allocations: 101.1 kB / 1.123 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/1.124, allocations: 143.9 kB / 1.123 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003445/1.127, allocations: 0.5065 MB / 1.124 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/1.127, allocations: 0 / 1.124 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003721/1.131, allocations: 0.7138 MB / 1.125 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/1.131, allocations: 4 kB / 1.125 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/1.131, allocations: 4 kB / 1.125 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/1.131, allocations: 0 / 1.125 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/1.132, allocations: 75.17 kB / 1.125 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/1.132, allocations: 4 kB / 1.125 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003965/1.132, allocations: 47.66 kB / 1.125 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.845e-05/1.132, allocations: 19.98 kB / 1.125 GB, free: 10.55 MB / 0.7292 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 4 * 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.0002352/1.132, allocations: 120 kB / 1.125 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002494/1.135, allocations: 0.5476 MB / 1.125 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.613e-05/1.135, allocations: 23.72 kB / 1.125 GB, free: 9.848 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000758/1.136, allocations: 318.8 kB / 1.126 GB, free: 9.531 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/1.136, allocations: 8 kB / 1.126 GB, free: 9.523 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/1.136, allocations: 8 kB / 1.126 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/1.136, allocations: 7.984 kB / 1.126 GB, free: 9.508 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005027/1.136, allocations: 301.6 kB / 1.126 GB, free: 9.176 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/1.136, allocations: 7.953 kB / 1.126 GB, free: 9.168 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003073/1.137, allocations: 71.84 kB / 1.126 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-05/1.137, allocations: 7.938 kB / 1.126 GB, free: 9.09 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.429e-05/1.137, allocations: 15.98 kB / 1.126 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/1.137, allocations: 4 kB / 1.126 GB, free: 9.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.137, allocations: 4 kB / 1.126 GB, free: 9.066 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002889/1.14, allocations: 0.8273 MB / 1.127 GB, free: 8.121 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/1.14, allocations: 144.5 kB / 1.127 GB, free: 7.961 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.872e-05/1.14, allocations: 19.94 kB / 1.127 GB, free: 7.941 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/1.14, allocations: 27.97 kB / 1.127 GB, free: 7.914 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/1.14, allocations: 51.88 kB / 1.127 GB, free: 7.863 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.229e-05/1.14, allocations: 20 kB / 1.127 GB, free: 7.844 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001258/1.141, allocations: 127.8 kB / 1.127 GB, free: 7.719 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.2e-07/1.141, allocations: 0 / 1.127 GB, free: 7.719 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008767/1.142, allocations: 211.7 kB / 1.128 GB, free: 7.512 MB / 0.7292 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) * 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.003918/1.145, allocations: 2.331 MB / 1.13 GB, free: 5.074 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001795/1.147, allocations: 2.988 MB / 1.133 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/1.147, allocations: 0 / 1.133 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002585/1.148, allocations: 161.8 kB / 1.133 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/1.148, allocations: 13.95 kB / 1.133 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/1.149, allocations: 0.5444 MB / 1.133 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/1.149, allocations: 0.7663 MB / 1.134 GB, free: 416 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002751/1.15, allocations: 51.62 kB / 1.134 GB, free: 368 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/1.15, allocations: 91.39 kB / 1.134 GB, free: 276 kB / 0.7292 GB Notification: Performance of SimCode: time 3.8e-07/1.15, allocations: 4 kB / 1.134 GB, free: 272 kB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03143/1.181, allocations: 6.848 MB / 1.141 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002683/1.182, allocations: 164.8 kB / 1.141 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.012/3.193, allocations: 0 / 1.141 GB, free: 9.336 MB / 0.7448 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)