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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.001268/0.001268, allocations: 108.3 kB / 16.39 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.001338/0.001338, allocations: 192.2 kB / 17.32 MB, free: 5.777 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.453/1.453, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.527/2.527, allocations: 442.7 MB / 0.7167 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 59.89 kB / 1.027 GB, free: 1.539 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.138/1.14, allocations: 153 MB / 1.177 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002059/1.142, allocations: 0.8918 MB / 1.178 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00303/1.145, allocations: 2.482 MB / 1.18 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.292e-05/1.145, allocations: 0 / 1.18 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 4.852e-05/1.145, allocations: 11.81 kB / 1.18 GB, free: 7.387 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002237/1.146, allocations: 51.56 kB / 1.18 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001072/1.147, allocations: 0.5023 MB / 1.181 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003199/1.147, allocations: 311.1 kB / 1.181 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 6.034e-05/1.147, allocations: 13.69 kB / 1.181 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002037/1.147, allocations: 143.6 kB / 1.181 GB, free: 6.375 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002236/1.147, allocations: 155.5 kB / 1.181 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.683e-05/1.148, allocations: 24 kB / 1.181 GB, free: 6.199 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000599/1.148, allocations: 371.7 kB / 1.182 GB, free: 5.836 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.581e-05/1.148, allocations: 63.8 kB / 1.182 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/1.148, allocations: 123.5 kB / 1.182 GB, free: 5.652 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006971/1.149, allocations: 0.5433 MB / 1.182 GB, free: 5.113 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/1.149, allocations: 0 / 1.182 GB, free: 5.113 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.595e-06/1.149, allocations: 0 / 1.182 GB, free: 5.113 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.815e-06/1.149, allocations: 0 / 1.182 GB, free: 5.113 MB / 0.9044 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.001444/1.151, allocations: 0.6723 MB / 1.183 GB, free: 4.395 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/1.151, allocations: 11.97 kB / 1.183 GB, free: 4.383 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.807e-05/1.151, allocations: 24.66 kB / 1.183 GB, free: 4.359 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/1.151, allocations: 184.8 kB / 1.183 GB, free: 4.137 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/1.151, allocations: 131.4 kB / 1.183 GB, free: 3.984 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.247e-05/1.151, allocations: 20.36 kB / 1.183 GB, free: 3.965 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003751/1.151, allocations: 245 kB / 1.184 GB, free: 3.684 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/1.151, allocations: 3.938 kB / 1.184 GB, free: 3.68 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/1.152, allocations: 15.97 kB / 1.184 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/1.152, allocations: 4 kB / 1.184 GB, free: 3.66 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002257/1.152, allocations: 115.8 kB / 1.184 GB, free: 3.547 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/1.152, allocations: 403 kB / 1.184 GB, free: 3.07 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/1.154, allocations: 495.3 kB / 1.185 GB, free: 2.477 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/1.154, allocations: 150.3 kB / 1.185 GB, free: 2.293 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.152e-05/1.154, allocations: 19.98 kB / 1.185 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005076/1.155, allocations: 315.4 kB / 1.185 GB, free: 1.914 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=40): time 2.034e-06/1.155, allocations: 0 / 1.185 GB, free: 1.914 MB / 0.9044 GB Notification: Performance of matching and sorting (n=40): time 0.0008576/1.155, allocations: 409.7 kB / 1.185 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/1.156, allocations: 354.1 kB / 1.186 GB, free: 1.082 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/1.156, allocations: 167.2 kB / 1.186 GB, free: 0.9023 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.475e-05/1.156, allocations: 41.69 kB / 1.186 GB, free: 0.8555 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.947e-05/1.156, allocations: 101.5 kB / 1.186 GB, free: 0.7539 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/1.156, allocations: 118.5 kB / 1.186 GB, free: 0.6367 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/1.156, allocations: 98.12 kB / 1.186 GB, free: 0.5352 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001297/1.156, allocations: 330.8 kB / 1.187 GB, free: 208 kB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002672/1.157, allocations: 117.1 kB / 1.187 GB, free: 88 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/1.157, allocations: 161 kB / 1.187 GB, free: 15.92 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005332/1.157, allocations: 273.3 kB / 1.187 GB, free: 15.64 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/1.157, allocations: 4 kB / 1.187 GB, free: 15.64 MB / 0.92 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007303/1.158, allocations: 366.8 kB / 1.187 GB, free: 15.28 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/1.158, allocations: 8 kB / 1.187 GB, free: 15.27 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.158, allocations: 0 / 1.187 GB, free: 15.27 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/1.158, allocations: 5 kB / 1.187 GB, free: 15.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003848/1.159, allocations: 79.91 kB / 1.187 GB, free: 15.19 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/1.159, allocations: 8 kB / 1.187 GB, free: 15.18 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002834/1.159, allocations: 51.66 kB / 1.188 GB, free: 15.13 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/1.159, allocations: 23.97 kB / 1.188 GB, free: 15.11 MB / 0.92 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.0001699/1.159, allocations: 146.3 kB / 1.188 GB, free: 14.95 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.588e-05/1.159, allocations: 35.53 kB / 1.188 GB, free: 14.92 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006969/1.16, allocations: 362 kB / 1.188 GB, free: 14.56 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/1.16, allocations: 7.984 kB / 1.188 GB, free: 14.55 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/1.16, allocations: 4 kB / 1.188 GB, free: 14.55 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/1.16, allocations: 144.6 kB / 1.188 GB, free: 14.39 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.69e-05/1.16, allocations: 23.92 kB / 1.188 GB, free: 14.36 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/1.16, allocations: 27.97 kB / 1.188 GB, free: 14.34 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/1.161, allocations: 55.83 kB / 1.188 GB, free: 14.28 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001198/1.162, allocations: 1.36 MB / 1.19 GB, free: 12.91 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001005/1.163, allocations: 1.381 MB / 1.191 GB, free: 11.5 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002477/1.163, allocations: 168 kB / 1.191 GB, free: 11.34 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.956e-05/1.163, allocations: 131.2 kB / 1.191 GB, free: 11.21 MB / 0.92 GB Notification: Performance of Backend: time 6.31e-07/1.163, allocations: 0 / 1.191 GB, free: 11.21 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002149/1.165, allocations: 491 kB / 1.192 GB, free: 10.72 MB / 0.92 GB Notification: Performance of SimCode: time 0.0009896/1.166, allocations: 0.8214 MB / 1.193 GB, free: 9.852 MB / 0.92 GB Notification: Performance of Templates: time 0.01026/1.177, allocations: 5.789 MB / 1.198 GB, free: 4.09 MB / 0.92 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