Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.SunRiseSetPositiveStartTime,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.SunRiseSetPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,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.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.00162, allocations: 110.4 kB / 16.42 MB, free: 6.457 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.001778/0.001778, allocations: 190.7 kB / 17.35 MB, free: 5.719 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.444/1.444, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.803/2.803, allocations: 469.4 MB / 0.7428 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001519, allocations: 59.91 kB / 1.065 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.068/1.07, allocations: 159.1 MB / 1.221 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002417/1.072, allocations: 0.8962 MB / 1.222 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003818/1.076, allocations: 2.466 MB / 1.224 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/1.076, allocations: 0 / 1.224 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.688e-05/1.076, allocations: 15.81 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003537/1.077, allocations: 63.53 kB / 1.224 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001606/1.078, allocations: 494.3 kB / 1.225 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004538/1.079, allocations: 319.1 kB / 1.225 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 6.215e-05/1.079, allocations: 13.67 kB / 1.225 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002817/1.079, allocations: 155.6 kB / 1.225 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/1.079, allocations: 155.5 kB / 1.225 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.217e-05/1.08, allocations: 20 kB / 1.225 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007042/1.08, allocations: 375.7 kB / 1.226 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.487e-05/1.08, allocations: 59.86 kB / 1.226 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001698/1.08, allocations: 119.5 kB / 1.226 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008697/1.081, allocations: 0.5432 MB / 1.226 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/1.081, allocations: 8 kB / 1.226 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.894e-06/1.081, allocations: 0 / 1.226 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.528e-05/1.081, allocations: 0 / 1.226 GB, free: 12.61 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.001568/1.083, allocations: 0.6645 MB / 1.227 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/1.083, allocations: 8.625 kB / 1.227 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/1.083, allocations: 24.73 kB / 1.227 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/1.083, allocations: 192.7 kB / 1.227 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001662/1.083, allocations: 135.4 kB / 1.227 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.371e-05/1.084, allocations: 16.38 kB / 1.227 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/1.084, allocations: 260.3 kB / 1.228 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/1.084, allocations: 0 / 1.228 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/1.084, allocations: 8 kB / 1.228 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/1.084, allocations: 4 kB / 1.228 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002459/1.084, allocations: 111.7 kB / 1.228 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/1.085, allocations: 396.1 kB / 1.228 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/1.086, allocations: 499.3 kB / 1.229 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/1.087, allocations: 162.1 kB / 1.229 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.017e-05/1.087, allocations: 15.97 kB / 1.229 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004878/1.087, allocations: 327.3 kB / 1.229 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=40): time 3.717e-06/1.087, allocations: 0 / 1.229 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of matching and sorting (n=40): time 0.000851/1.088, allocations: 413.8 kB / 1.23 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001722/1.088, allocations: 350.6 kB / 1.23 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/1.088, allocations: 171.3 kB / 1.23 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.864e-05/1.088, allocations: 37.7 kB / 1.23 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/1.088, allocations: 101 kB / 1.23 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/1.089, allocations: 110.5 kB / 1.23 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/1.089, allocations: 102.1 kB / 1.23 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001275/1.089, allocations: 330.8 kB / 1.231 GB, free: 7.691 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/1.089, allocations: 117.1 kB / 1.231 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003111/1.089, allocations: 169 kB / 1.231 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005695/1.09, allocations: 265.9 kB / 1.231 GB, free: 7.137 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.09, allocations: 0 / 1.231 GB, free: 7.137 MB / 0.9512 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007806/1.091, allocations: 380.3 kB / 1.232 GB, free: 6.762 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/1.091, allocations: 8 kB / 1.232 GB, free: 6.754 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/1.091, allocations: 4 kB / 1.232 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/1.091, allocations: 4 kB / 1.232 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000396/1.091, allocations: 75.88 kB / 1.232 GB, free: 6.672 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/1.091, allocations: 4 kB / 1.232 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003087/1.092, allocations: 51.56 kB / 1.232 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.12e-05/1.092, allocations: 23.98 kB / 1.232 GB, free: 6.594 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.0001732/1.092, allocations: 154.5 kB / 1.232 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.693e-05/1.092, allocations: 31.73 kB / 1.232 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006981/1.093, allocations: 354 kB / 1.232 GB, free: 6.055 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/1.093, allocations: 4 kB / 1.232 GB, free: 6.051 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/1.093, allocations: 7.984 kB / 1.232 GB, free: 6.043 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/1.093, allocations: 144.6 kB / 1.232 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.068e-05/1.093, allocations: 19.98 kB / 1.232 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/1.093, allocations: 28.3 kB / 1.232 GB, free: 5.836 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/1.093, allocations: 51.88 kB / 1.232 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001302/1.095, allocations: 1.352 MB / 1.234 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001133/1.096, allocations: 1.385 MB / 1.235 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002755/1.096, allocations: 176.7 kB / 1.235 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001077/1.096, allocations: 123.2 kB / 1.235 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of Backend: time 3.797e-06/1.096, allocations: 4 kB / 1.235 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002355/1.099, allocations: 485.7 kB / 1.236 GB, free: 2.223 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0009191/1.099, allocations: 0.8175 MB / 1.237 GB, free: 1.363 MB / 0.9512 GB Notification: Performance of Templates: time 0.0117/1.111, allocations: 5.849 MB / 1.242 GB, free: 11.54 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches