Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sunRiseSetArctic.nextSunRise|sunRiseSetArctic.nextSunSet|sunRiseSetArctic.sunUp|sunRiseSetSf.nextSunRise|sunRiseSetSf.nextSunSet|sunRiseSetSf.sunUp|sunRiseSetAntarctic.nextSunRise|sunRiseSetAntarctic.nextSunSet|sunRiseSetAntarctic.sunUp|sunRiseSetSyd.nextSunRise|sunRiseSetSyd.nextSunSet|sunRiseSetSyd.sunUp",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sunRiseSetArctic.nextSunRise|sunRiseSetArctic.nextSunSet|sunRiseSetArctic.sunUp|sunRiseSetSf.nextSunRise|sunRiseSetSf.nextSunSet|sunRiseSetSf.sunUp|sunRiseSetAntarctic.nextSunRise|sunRiseSetAntarctic.nextSunSet|sunRiseSetAntarctic.sunUp|sunRiseSetSyd.nextSunRise|sunRiseSetSyd.nextSunSet|sunRiseSetSyd.sunUp",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 115 kB / 16.42 MB, free: 6.48 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.001412/0.001412, allocations: 186.6 kB / 17.35 MB, free: 5.746 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.409/1.409, allocations: 222.9 MB / 241.1 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.767/2.767, allocations: 472.7 MB / 0.746 GB, free: 488 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 71.88 kB / 1.07 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061/1.063, allocations: 159.9 MB / 1.226 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002593/1.066, allocations: 0.9014 MB / 1.227 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00382/1.069, allocations: 2.472 MB / 1.23 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/1.07, allocations: 3.938 kB / 1.23 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.683e-05/1.07, allocations: 11.81 kB / 1.23 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000253/1.07, allocations: 51.62 kB / 1.23 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001553/1.071, allocations: 0.4905 MB / 1.23 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004282/1.072, allocations: 323.1 kB / 1.23 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 6.336e-05/1.072, allocations: 17.67 kB / 1.23 GB, free: 9.438 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000334/1.072, allocations: 151.6 kB / 1.231 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003462/1.073, allocations: 147.5 kB / 1.231 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.695e-05/1.073, allocations: 24 kB / 1.231 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008465/1.074, allocations: 367.7 kB / 1.231 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.503e-05/1.074, allocations: 71.78 kB / 1.231 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000142/1.074, allocations: 119.5 kB / 1.231 GB, free: 8.574 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009996/1.075, allocations: 0.5538 MB / 1.232 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.075, allocations: 0 / 1.232 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.362e-06/1.075, allocations: 4 kB / 1.232 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.262e-05/1.075, allocations: 0 / 1.232 GB, free: 8.016 MB / 0.9512 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.001436/1.076, allocations: 0.6752 MB / 1.233 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/1.076, allocations: 12.03 kB / 1.233 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/1.077, allocations: 20.8 kB / 1.233 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/1.077, allocations: 192.8 kB / 1.233 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/1.077, allocations: 127.4 kB / 1.233 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.656e-05/1.077, allocations: 24.36 kB / 1.233 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003617/1.077, allocations: 252.3 kB / 1.233 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/1.077, allocations: 0 / 1.233 GB, free: 6.566 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/1.077, allocations: 15.92 kB / 1.233 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/1.077, allocations: 4 kB / 1.233 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002375/1.078, allocations: 111.8 kB / 1.233 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004876/1.078, allocations: 395.2 kB / 1.234 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/1.08, allocations: 499.2 kB / 1.234 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/1.08, allocations: 166.2 kB / 1.234 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.97e-05/1.08, allocations: 4 kB / 1.234 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000497/1.08, allocations: 323.4 kB / 1.235 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=40): time 2.324e-06/1.08, allocations: 0 / 1.235 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of matching and sorting (n=40): time 0.0008531/1.081, allocations: 413.9 kB / 1.235 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001601/1.081, allocations: 358 kB / 1.235 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/1.082, allocations: 171.8 kB / 1.235 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/1.082, allocations: 45.64 kB / 1.236 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.481e-05/1.082, allocations: 93.14 kB / 1.236 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.737e-05/1.082, allocations: 115.1 kB / 1.236 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/1.082, allocations: 98.17 kB / 1.236 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.082, allocations: 334.8 kB / 1.236 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/1.082, allocations: 117.1 kB / 1.236 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/1.083, allocations: 165 kB / 1.236 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005528/1.083, allocations: 270.7 kB / 1.237 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.083, allocations: 0 / 1.237 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007616/1.084, allocations: 372.7 kB / 1.237 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/1.084, allocations: 8 kB / 1.237 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/1.084, allocations: 7.984 kB / 1.237 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/1.084, allocations: 11.98 kB / 1.237 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003826/1.084, allocations: 75.83 kB / 1.237 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/1.084, allocations: 4 kB / 1.237 GB, free: 2.055 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/1.085, allocations: 55.7 kB / 1.237 GB, free: 2 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.525e-05/1.085, allocations: 15.98 kB / 1.237 GB, free: 1.984 MB / 0.9512 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.0002123/1.085, allocations: 149.8 kB / 1.237 GB, free: 1.828 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.816e-05/1.085, allocations: 28.55 kB / 1.237 GB, free: 1.801 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006705/1.086, allocations: 362.2 kB / 1.238 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/1.086, allocations: 7.984 kB / 1.238 GB, free: 1.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.086, allocations: 4 kB / 1.238 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/1.086, allocations: 152.7 kB / 1.238 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.422e-05/1.086, allocations: 16 kB / 1.238 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/1.086, allocations: 35.97 kB / 1.238 GB, free: 1.207 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/1.086, allocations: 51.81 kB / 1.238 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001277/1.088, allocations: 1.356 MB / 1.239 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001136/1.089, allocations: 1.381 MB / 1.241 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002628/1.089, allocations: 164.3 kB / 1.241 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.674e-05/1.089, allocations: 131.2 kB / 1.241 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of Backend: time 2.91e-07/1.089, allocations: 3.938 kB / 1.241 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00212/1.091, allocations: 484.7 kB / 1.241 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of SimCode: time 0.0009892/1.092, allocations: 0.8245 MB / 1.242 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of Templates: time 0.01207/1.104, allocations: 5.853 MB / 1.248 GB, free: 6.898 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches