Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_10_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,fileNamePrefix="Buildings_10_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.001687/0.001687, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 194.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.657/2.657, allocations: 437.1 MB / 0.7104 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 63.91 kB / 0.8694 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8037/0.8053, allocations: 151.6 MB / 1.017 GB, free: 2.441 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002556/0.8079, allocations: 0.8744 MB / 1.018 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003559/0.8115, allocations: 2.486 MB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.8117, allocations: 0 / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.403e-05/0.8117, allocations: 19.73 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.8121, allocations: 43.56 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001711/0.8138, allocations: 0.5006 MB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004687/0.8143, allocations: 326.9 kB / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.168e-05/0.8144, allocations: 13.67 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002811/0.8146, allocations: 143.6 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000231/0.8149, allocations: 151.5 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.167e-05/0.815, allocations: 24 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006525/0.8156, allocations: 311.8 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.672e-05/0.8157, allocations: 71.8 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.8158, allocations: 115.5 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.8169, allocations: 0.5416 MB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.8169, allocations: 0 / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8169, allocations: 0 / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.8169, allocations: 0 / 1.023 GB, free: 12.82 MB / 0.7794 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.001536/0.8185, allocations: 0.6645 MB / 1.024 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.8185, allocations: 8.031 kB / 1.024 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.89e-05/0.8186, allocations: 50.73 kB / 1.024 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.5e-05/0.8187, allocations: 20.75 kB / 1.024 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.8188, allocations: 193.9 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.819, allocations: 127.4 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/0.819, allocations: 16.38 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/0.8194, allocations: 243.7 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.8194, allocations: 3.938 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.8195, allocations: 8 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.8195, allocations: 11.98 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002403/0.8197, allocations: 115.8 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.8202, allocations: 395 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.8217, allocations: 499.3 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.8219, allocations: 162.2 kB / 1.025 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.003e-05/0.822, allocations: 15.92 kB / 1.025 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004583/0.8224, allocations: 311.5 kB / 1.026 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=40): time 3.857e-06/0.8224, allocations: 0 / 1.026 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of matching and sorting (n=40): time 0.0008507/0.8233, allocations: 414 kB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001639/0.8235, allocations: 354.1 kB / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.8237, allocations: 165.8 kB / 1.027 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.919e-05/0.8237, allocations: 41.7 kB / 1.027 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.886e-05/0.8238, allocations: 97.12 kB / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.8239, allocations: 114.6 kB / 1.027 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.824, allocations: 98.28 kB / 1.027 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.8242, allocations: 334.8 kB / 1.027 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.8244, allocations: 113.1 kB / 1.027 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003302/0.8248, allocations: 173 kB / 1.027 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005815/0.8254, allocations: 267.9 kB / 1.028 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.8254, allocations: 0 / 1.028 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008769/0.8263, allocations: 386.8 kB / 1.028 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.8263, allocations: 4 kB / 1.028 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.8263, allocations: 7.938 kB / 1.028 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.8263, allocations: 0 / 1.028 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/0.8268, allocations: 75.88 kB / 1.028 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.8268, allocations: 3.984 kB / 1.028 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003457/0.8271, allocations: 55.75 kB / 1.028 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.657e-05/0.8272, allocations: 19.98 kB / 1.028 GB, free: 6.77 MB / 0.7794 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 (sunRiseSetSyd.sunUp,sunRiseSetSyd.nextSunSet,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunRise,$whenCondition7,$whenCondition8,sunRiseSetAntarctic.sunUp,sunRiseSetAntarctic.nextSunSet,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunRise,$whenCondition5,$whenCondition6,sunRiseSetSf.sunUp,sunRiseSetSf.nextSunSet,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunRise,$whenCondition3,$whenCondition4,sunRiseSetArctic.sunUp,sunRiseSetArctic.nextSunSet,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunRise,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002432/0.8275, allocations: 162.7 kB / 1.028 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.8276, allocations: 27.66 kB / 1.028 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007538/0.8283, allocations: 358.2 kB / 1.029 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.8283, allocations: 8 kB / 1.029 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.8284, allocations: 4 kB / 1.029 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.8284, allocations: 7.984 kB / 1.029 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005387/0.8289, allocations: 349.1 kB / 1.029 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/0.8289, allocations: 4 kB / 1.029 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003056/0.8293, allocations: 79.83 kB / 1.029 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.8293, allocations: 8 kB / 1.029 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.602e-05/0.8293, allocations: 12 kB / 1.029 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.8293, allocations: 7.984 kB / 1.029 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.8293, allocations: 7.938 kB / 1.029 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007322/0.8301, allocations: 0.4939 MB / 1.03 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.8303, allocations: 148.5 kB / 1.03 GB, free: 4.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.735e-05/0.8303, allocations: 23.98 kB / 1.03 GB, free: 4.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.8306, allocations: 27.97 kB / 1.03 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.8307, allocations: 47.89 kB / 1.03 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/0.8307, allocations: 23.98 kB / 1.03 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.881e-05/0.8308, allocations: 123.2 kB / 1.03 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8308, allocations: 0 / 1.03 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006064/0.8315, allocations: 219.7 kB / 1.03 GB, free: 4.52 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001579/0.8331, allocations: 1.253 MB / 1.032 GB, free: 3.207 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000765/0.8338, allocations: 355.5 kB / 1.032 GB, free: 2.855 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/0.8339, allocations: 4 kB / 1.032 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003138/0.8342, allocations: 183.7 kB / 1.032 GB, free: 2.672 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.8345, allocations: 31.92 kB / 1.032 GB, free: 2.641 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003919/0.8385, allocations: 2.755 MB / 1.035 GB, free: 15.73 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.8388, allocations: 0.765 MB / 1.036 GB, free: 14.93 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000217/0.839, allocations: 60.94 kB / 1.036 GB, free: 14.88 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.8392, allocations: 91.39 kB / 1.036 GB, free: 14.79 MB / 0.795 GB Notification: Performance of SimCode: time 5.31e-07/0.8392, allocations: 0 / 1.036 GB, free: 14.79 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/0.8672, allocations: 7.794 MB / 1.043 GB, free: 7.141 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.798/10.66, allocations: 15.97 kB / 1.043 GB, free: 7.129 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime_fmu --startTime=-43200 --stopTime=259200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1)