Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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.SunRiseSet,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.SunRiseSet") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,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.SunRiseSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001529, allocations: 106.8 kB / 16.41 MB, free: 6.492 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.001587/0.001587, allocations: 193.6 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.413/1.413, 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.585/2.585, allocations: 461.7 MB / 0.7352 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 67.89 kB / 1.054 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058/1.06, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002443/1.063, allocations: 0.8993 MB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003093/1.066, allocations: 2.47 MB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.854e-05/1.066, allocations: 3.938 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.303e-05/1.066, allocations: 15.8 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002367/1.066, allocations: 51.62 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001094/1.068, allocations: 0.4905 MB / 1.212 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003546/1.068, allocations: 315.1 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.927e-05/1.068, allocations: 13.67 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002169/1.068, allocations: 151.5 kB / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/1.068, allocations: 143.5 kB / 1.213 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.751e-05/1.068, allocations: 24 kB / 1.213 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006394/1.069, allocations: 371.7 kB / 1.213 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.074e-05/1.069, allocations: 71.84 kB / 1.213 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/1.069, allocations: 123.5 kB / 1.213 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007251/1.07, allocations: 0.5509 MB / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/1.07, allocations: 0 / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.695e-06/1.07, allocations: 0 / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.137e-05/1.07, allocations: 0 / 1.214 GB, free: 7.969 MB / 0.9356 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.001382/1.072, allocations: 0.6685 MB / 1.214 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/1.072, allocations: 8.031 kB / 1.214 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.987e-05/1.072, allocations: 28.64 kB / 1.214 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/1.072, allocations: 188.8 kB / 1.215 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001614/1.072, allocations: 127.4 kB / 1.215 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.567e-05/1.072, allocations: 20.38 kB / 1.215 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000382/1.072, allocations: 247.8 kB / 1.215 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/1.072, allocations: 0 / 1.215 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/1.072, allocations: 4 kB / 1.215 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/1.072, allocations: 8 kB / 1.215 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002368/1.073, allocations: 115.7 kB / 1.215 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004802/1.073, allocations: 403.1 kB / 1.215 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/1.075, allocations: 491.3 kB / 1.216 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/1.075, allocations: 158.2 kB / 1.216 GB, free: 5.152 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.618e-05/1.075, allocations: 15.97 kB / 1.216 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004968/1.075, allocations: 319.4 kB / 1.216 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=40): time 1.913e-06/1.075, allocations: 3.938 kB / 1.216 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=40): time 0.0008249/1.076, allocations: 413.3 kB / 1.217 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001894/1.076, allocations: 346.6 kB / 1.217 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/1.077, allocations: 171.2 kB / 1.217 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.36e-05/1.077, allocations: 41.7 kB / 1.217 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.801e-05/1.077, allocations: 101.1 kB / 1.217 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/1.077, allocations: 106.5 kB / 1.218 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/1.077, allocations: 98.22 kB / 1.218 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.077, allocations: 338.8 kB / 1.218 GB, free: 3.062 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/1.077, allocations: 113 kB / 1.218 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003134/1.078, allocations: 169 kB / 1.218 GB, free: 2.777 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005332/1.078, allocations: 271.1 kB / 1.218 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/1.078, allocations: 4 kB / 1.218 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007305/1.079, allocations: 379.6 kB / 1.219 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.079, allocations: 8 kB / 1.219 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/1.079, allocations: 0 / 1.219 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/1.079, allocations: 7.938 kB / 1.219 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/1.08, allocations: 75.88 kB / 1.219 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/1.08, allocations: 7.938 kB / 1.219 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/1.08, allocations: 47.66 kB / 1.219 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.209e-05/1.08, allocations: 27.98 kB / 1.219 GB, free: 1.957 MB / 0.9356 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.0001567/1.08, allocations: 146.3 kB / 1.219 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.317e-05/1.08, allocations: 31.64 kB / 1.219 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006668/1.081, allocations: 358.4 kB / 1.22 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/1.081, allocations: 4 kB / 1.22 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.081, allocations: 8 kB / 1.22 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/1.081, allocations: 148.6 kB / 1.22 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.323e-05/1.081, allocations: 16 kB / 1.22 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/1.081, allocations: 27.97 kB / 1.22 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/1.081, allocations: 51.88 kB / 1.22 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00114/1.083, allocations: 1.356 MB / 1.221 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001027/1.084, allocations: 1.389 MB / 1.222 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002573/1.084, allocations: 168.2 kB / 1.223 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.651e-05/1.084, allocations: 127.2 kB / 1.223 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of Backend: time 8.51e-07/1.084, allocations: 0 / 1.223 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002066/1.086, allocations: 487.7 kB / 1.223 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0008792/1.087, allocations: 0.8213 MB / 1.224 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of Templates: time 0.01017/1.097, allocations: 5.779 MB / 1.23 GB, free: 6.953 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches