Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.843/1.843, allocations: 306.1 MB / 321.4 MB, free: 10.75 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 175.8 kB / 393.1 MB, free: 4.082 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.634/1.634, allocations: 225.7 MB / 0.6743 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007948/0.0007948, allocations: 93.61 kB / 0.7935 GB, free: 40.11 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005312/0.0005317, allocations: 13.97 kB / 0.9224 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8129/0.8135, allocations: 121.3 MB / 1.041 GB, free: 58.56 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001138/0.8147, allocations: 0.6051 MB / 1.041 GB, free: 58.22 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003348/0.8181, allocations: 3.358 MB / 1.045 GB, free: 55.41 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.709e-05/0.8182, allocations: 6.312 kB / 1.045 GB, free: 55.41 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.567e-05/0.8182, allocations: 7.312 kB / 1.045 GB, free: 55.4 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.8185, allocations: 45.22 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.8195, allocations: 415.1 kB / 1.045 GB, free: 55.17 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000288/0.8198, allocations: 303.3 kB / 1.045 GB, free: 55.04 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.762e-05/0.8199, allocations: 17.36 kB / 1.046 GB, free: 55.04 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.8201, allocations: 128.5 kB / 1.046 GB, free: 55 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.8203, allocations: 150.1 kB / 1.046 GB, free: 54.94 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.879e-05/0.8204, allocations: 11.5 kB / 1.046 GB, free: 54.94 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005955/0.821, allocations: 284.7 kB / 1.046 GB, free: 54.88 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.329e-05/0.8211, allocations: 63.86 kB / 1.046 GB, free: 54.85 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.8212, allocations: 135.9 kB / 1.046 GB, free: 54.77 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007591/0.822, allocations: 0.5278 MB / 1.047 GB, free: 54.61 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.822, allocations: 1 kB / 1.047 GB, free: 54.61 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.405e-06/0.822, allocations: 0 / 1.047 GB, free: 54.61 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.822, allocations: 0 / 1.047 GB, free: 54.61 MB / 0.698 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.001334/0.8234, allocations: 0.6354 MB / 1.047 GB, free: 54.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.8234, allocations: 11.12 kB / 1.047 GB, free: 54.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.099e-05/0.8235, allocations: 19.25 kB / 1.047 GB, free: 54.11 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.8236, allocations: 200 kB / 1.048 GB, free: 53.89 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/0.8238, allocations: 130.3 kB / 1.048 GB, free: 53.76 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.718e-05/0.8238, allocations: 19.5 kB / 1.048 GB, free: 53.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003673/0.8242, allocations: 239.6 kB / 1.048 GB, free: 53.58 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.8242, allocations: 0 / 1.048 GB, free: 53.58 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.8243, allocations: 8.094 kB / 1.048 GB, free: 53.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.8243, allocations: 3.75 kB / 1.048 GB, free: 53.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/0.8245, allocations: 120 kB / 1.048 GB, free: 53.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004403/0.825, allocations: 396.3 kB / 1.048 GB, free: 53.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/0.8263, allocations: 496.6 kB / 1.049 GB, free: 52.81 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.8266, allocations: 168.3 kB / 1.049 GB, free: 52.67 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.624e-05/0.8266, allocations: 16.69 kB / 1.049 GB, free: 52.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005037/0.8271, allocations: 306.1 kB / 1.049 GB, free: 52.46 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 2.274e-06/0.8271, allocations: 3.938 kB / 1.049 GB, free: 52.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.0007903/0.8279, allocations: 404.1 kB / 1.05 GB, free: 52.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.8281, allocations: 360.3 kB / 1.05 GB, free: 51.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.8282, allocations: 165.8 kB / 1.05 GB, free: 51.76 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.8282, allocations: 43.5 kB / 1.05 GB, free: 51.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.325e-05/0.8283, allocations: 91.95 kB / 1.05 GB, free: 51.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.667e-05/0.8284, allocations: 115.5 kB / 1.051 GB, free: 51.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-05/0.8284, allocations: 9.531 kB / 1.051 GB, free: 51.53 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.053e-05/0.8285, allocations: 331.3 kB / 1.051 GB, free: 51.21 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.8288, allocations: 120.5 kB / 1.051 GB, free: 51.17 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/0.8291, allocations: 165.9 kB / 1.051 GB, free: 51.09 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005243/0.8296, allocations: 266.3 kB / 1.051 GB, free: 50.96 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.8296, allocations: 0 / 1.051 GB, free: 50.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006924/0.8303, allocations: 374.2 kB / 1.052 GB, free: 50.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.8303, allocations: 11.67 kB / 1.052 GB, free: 50.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.8304, allocations: 1.188 kB / 1.052 GB, free: 50.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.8304, allocations: 2.844 kB / 1.052 GB, free: 50.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/0.8308, allocations: 82.62 kB / 1.052 GB, free: 50.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.8308, allocations: 2.312 kB / 1.052 GB, free: 50.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/0.8311, allocations: 63.23 kB / 1.052 GB, free: 50.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.366e-05/0.8312, allocations: 21.25 kB / 1.052 GB, free: 50.76 MB / 0.698 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 ($whenCondition8,$whenCondition7,$PRE.sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,$PRE.sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,$PRE.sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,$PRE.sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * 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.0001563/0.8313, allocations: 152.6 kB / 1.052 GB, free: 50.62 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.526e-05/0.8314, allocations: 23.16 kB / 1.052 GB, free: 50.61 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006707/0.8321, allocations: 369.9 kB / 1.052 GB, free: 50.44 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.8321, allocations: 8.188 kB / 1.052 GB, free: 50.44 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.8321, allocations: 3.625 kB / 1.052 GB, free: 50.44 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.8321, allocations: 8.75 kB / 1.052 GB, free: 50.43 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003439/0.8325, allocations: 346.7 kB / 1.053 GB, free: 50.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.8325, allocations: 10.5 kB / 1.053 GB, free: 50.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002758/0.8327, allocations: 74.59 kB / 1.053 GB, free: 50.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/0.8328, allocations: 4.5 kB / 1.053 GB, free: 50.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/0.8328, allocations: 20.59 kB / 1.053 GB, free: 50.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.8328, allocations: 3.375 kB / 1.053 GB, free: 50.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.8328, allocations: 3.891 kB / 1.053 GB, free: 50.14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006575/0.8335, allocations: 492.3 kB / 1.053 GB, free: 49.85 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.8336, allocations: 151.3 kB / 1.054 GB, free: 49.72 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.296e-05/0.8337, allocations: 22.66 kB / 1.054 GB, free: 49.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.8339, allocations: 37.36 kB / 1.054 GB, free: 49.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.8341, allocations: 50.88 kB / 1.054 GB, free: 49.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/0.8341, allocations: 23.7 kB / 1.054 GB, free: 49.68 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.738e-05/0.8342, allocations: 127.6 kB / 1.054 GB, free: 49.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8342, allocations: 0 / 1.054 GB, free: 49.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007017/0.8349, allocations: 216.1 kB / 1.054 GB, free: 49.53 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition8,$whenCondition7,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 8 (sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005364/0.8355, allocations: 331.4 kB / 1.054 GB, free: 49.36 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006185/0.8361, allocations: 328.2 kB / 1.055 GB, free: 49.26 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.8361, allocations: 0.875 kB / 1.055 GB, free: 49.26 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002806/0.8364, allocations: 188.7 kB / 1.055 GB, free: 49.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.8367, allocations: 31.05 kB / 1.055 GB, free: 49.19 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.8377, allocations: 0.6497 MB / 1.055 GB, free: 48.71 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.838, allocations: 0.7619 MB / 1.056 GB, free: 48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002232/0.8382, allocations: 55.03 kB / 1.056 GB, free: 48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.8383, allocations: 50.27 kB / 1.056 GB, free: 47.98 MB / 0.698 GB Notification: Performance of SimCode: time 1.233e-06/0.8383, allocations: 0 / 1.056 GB, free: 47.98 MB / 0.698 GB Notification: Performance of Templates: time 0.009631/0.848, allocations: 5.255 MB / 1.061 GB, free: 47.58 MB / 0.698 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 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1)