Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: 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_9_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_9_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.001283/0.001283, allocations: 112.8 kB / 16.42 MB, free: 6.496 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.001264/0.001264, allocations: 190.5 kB / 17.35 MB, free: 5.762 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.354/2.354, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 63.91 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.935/0.9366, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002638/0.9394, allocations: 0.9035 MB / 1.089 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00309/0.9425, allocations: 2.475 MB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.9426, allocations: 5.156 kB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.654e-05/0.9427, allocations: 12.52 kB / 1.092 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002558/0.9429, allocations: 43.16 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.9445, allocations: 0.4906 MB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005438/0.9451, allocations: 326.2 kB / 1.093 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.843e-05/0.9452, allocations: 15.69 kB / 1.093 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002761/0.9454, allocations: 144.1 kB / 1.093 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002709/0.9457, allocations: 147.5 kB / 1.093 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.687e-05/0.9458, allocations: 23.84 kB / 1.093 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008549/0.9467, allocations: 370.7 kB / 1.093 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.331e-05/0.9468, allocations: 78.7 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.9469, allocations: 120.1 kB / 1.094 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009472/0.9479, allocations: 0.5431 MB / 1.094 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.9479, allocations: 0.9688 kB / 1.094 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9479, allocations: 0 / 1.094 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.9479, allocations: 0 / 1.094 GB, free: 2.254 MB / 0.8575 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.001538/0.9494, allocations: 0.668 MB / 1.095 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.9495, allocations: 8.875 kB / 1.095 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.937e-05/0.9496, allocations: 24.81 kB / 1.095 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.9497, allocations: 194.5 kB / 1.095 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/0.9499, allocations: 129.4 kB / 1.095 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.95e-05/0.95, allocations: 22.36 kB / 1.095 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004114/0.9504, allocations: 249.6 kB / 1.095 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.9504, allocations: 0.8125 kB / 1.095 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.9504, allocations: 12.38 kB / 1.095 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.9505, allocations: 4.156 kB / 1.095 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000269/0.9507, allocations: 112.1 kB / 1.096 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005158/0.9513, allocations: 407.7 kB / 1.096 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.9528, allocations: 498.4 kB / 1.096 GB, free: 412 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.9531, allocations: 157.5 kB / 1.097 GB, free: 280 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.575e-05/0.9531, allocations: 10.88 kB / 1.097 GB, free: 276 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005389/0.9537, allocations: 317.2 kB / 1.097 GB, free: 52 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=40): time 2.685e-06/0.9537, allocations: 1.094 kB / 1.097 GB, free: 52 kB / 0.8575 GB Notification: Performance of matching and sorting (n=40): time 0.0009841/0.9547, allocations: 415.9 kB / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001877/0.9549, allocations: 352.5 kB / 1.098 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.9551, allocations: 164.5 kB / 1.098 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.936e-05/0.9551, allocations: 43.59 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/0.9552, allocations: 95.17 kB / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.9553, allocations: 110.2 kB / 1.098 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.9555, allocations: 95.53 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.9556, allocations: 338.2 kB / 1.098 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/0.956, allocations: 116.4 kB / 1.098 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003508/0.9563, allocations: 163.4 kB / 1.099 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006175/0.9569, allocations: 268.7 kB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.957, allocations: 5.312 kB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008729/0.9578, allocations: 377.7 kB / 1.099 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.9579, allocations: 5.719 kB / 1.099 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.9579, allocations: 2.953 kB / 1.099 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.9579, allocations: 2.125 kB / 1.099 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004175/0.9583, allocations: 86.44 kB / 1.099 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/0.9584, allocations: 2.5 kB / 1.099 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/0.9587, allocations: 53.56 kB / 1.099 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-05/0.9587, allocations: 17.34 kB / 1.099 GB, free: 14.32 MB / 0.8731 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.0001731/0.9589, allocations: 149.8 kB / 1.1 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.97e-05/0.959, allocations: 29.67 kB / 1.1 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000735/0.9597, allocations: 362.2 kB / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.9597, allocations: 10.08 kB / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.9597, allocations: 2.906 kB / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/0.9599, allocations: 151.1 kB / 1.1 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.391e-05/0.96, allocations: 17.53 kB / 1.1 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.9602, allocations: 29.27 kB / 1.1 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.9604, allocations: 53.33 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001284/0.9617, allocations: 1.356 MB / 1.102 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001262/0.9629, allocations: 1.386 MB / 1.103 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003134/0.9633, allocations: 165 kB / 1.103 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001191/0.9634, allocations: 126.5 kB / 1.103 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of Backend: time 8.82e-07/0.9634, allocations: 1.5 kB / 1.103 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0036/0.967, allocations: 482 kB / 1.104 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001091/0.9681, allocations: 0.8315 MB / 1.104 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of Templates: time 0.01277/0.9809, allocations: 5.843 MB / 1.11 GB, free: 9.977 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches