Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.457/1.457, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 180.8 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.015/2.015, allocations: 205.4 MB / 0.5775 GB, free: 20.31 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009728/0.0009728, allocations: 101.1 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.000373, allocations: 10.41 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2189, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1639/0.3829, allocations: 132.8 MB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.3832, allocations: 71.95 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03337/0.4165, allocations: 10.43 MB / 1.04 GB, free: 500 kB / 0.6823 GB Notification: Performance of FrontEnd: time 2.906e-06/0.4166, allocations: 0 / 1.04 GB, free: 500 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.4166, allocations: 8 kB / 1.04 GB, free: 492 kB / 0.6823 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.001542/0.4182, allocations: 0.6301 MB / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.4182, allocations: 8.031 kB / 1.041 GB, free: 15.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.656e-05/0.4183, allocations: 23.72 kB / 1.041 GB, free: 15.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.4185, allocations: 183.6 kB / 1.041 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001826/0.4187, allocations: 134.7 kB / 1.041 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/0.4188, allocations: 23.98 kB / 1.041 GB, free: 15.37 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003663/0.4191, allocations: 227.8 kB / 1.041 GB, free: 15.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.4192, allocations: 0 / 1.041 GB, free: 15.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.4192, allocations: 11.98 kB / 1.041 GB, free: 15.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.4192, allocations: 4 kB / 1.041 GB, free: 15.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.4194, allocations: 115.7 kB / 1.041 GB, free: 14.97 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.42, allocations: 399.1 kB / 1.042 GB, free: 14.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/0.4214, allocations: 495.5 kB / 1.042 GB, free: 13.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.171e-05/0.4215, allocations: 16 kB / 1.042 GB, free: 13.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004792/0.4219, allocations: 312.1 kB / 1.042 GB, free: 13.54 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 1.994e-06/0.422, allocations: 0 / 1.042 GB, free: 13.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.0007913/0.4228, allocations: 406 kB / 1.043 GB, free: 13.13 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000175/0.4229, allocations: 358.1 kB / 1.043 GB, free: 12.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.4231, allocations: 157.2 kB / 1.043 GB, free: 12.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.686e-05/0.4232, allocations: 49.62 kB / 1.043 GB, free: 12.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.053e-05/0.4232, allocations: 93.14 kB / 1.043 GB, free: 12.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.697e-05/0.4233, allocations: 106.5 kB / 1.044 GB, free: 12.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.277e-05/0.4234, allocations: 8 kB / 1.044 GB, free: 12.28 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000204/0.4236, allocations: 338.8 kB / 1.044 GB, free: 11.94 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000272/0.4239, allocations: 117 kB / 1.044 GB, free: 11.82 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.4242, allocations: 161 kB / 1.044 GB, free: 11.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.4244, allocations: 128.2 kB / 1.044 GB, free: 11.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4245, allocations: 0 / 1.044 GB, free: 11.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007058/0.4252, allocations: 375.7 kB / 1.045 GB, free: 11.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.4252, allocations: 4 kB / 1.045 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.4252, allocations: 4 kB / 1.045 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.4252, allocations: 0 / 1.045 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/0.4257, allocations: 83.81 kB / 1.045 GB, free: 11.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.4257, allocations: 5 kB / 1.045 GB, free: 11.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.426, allocations: 59.66 kB / 1.045 GB, free: 11.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.426, allocations: 15.98 kB / 1.045 GB, free: 11 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001919/0.4262, allocations: 153.7 kB / 1.045 GB, free: 10.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.722e-05/0.4263, allocations: 27.66 kB / 1.045 GB, free: 10.81 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006862/0.427, allocations: 370.1 kB / 1.045 GB, free: 10.44 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.427, allocations: 8 kB / 1.045 GB, free: 10.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.427, allocations: 4 kB / 1.045 GB, free: 10.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.537e-06/0.427, allocations: 4 kB / 1.045 GB, free: 10.42 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004305/0.4275, allocations: 353.1 kB / 1.046 GB, free: 10.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.4275, allocations: 4 kB / 1.046 GB, free: 10.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/0.4278, allocations: 75.84 kB / 1.046 GB, free: 9.949 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.4278, allocations: 4 kB / 1.046 GB, free: 9.945 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.579e-05/0.4279, allocations: 19.98 kB / 1.046 GB, free: 9.926 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.4279, allocations: 4 kB / 1.046 GB, free: 9.922 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4279, allocations: 8 kB / 1.046 GB, free: 9.914 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007805/0.4287, allocations: 0.6138 MB / 1.046 GB, free: 9.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/0.4289, allocations: 148.5 kB / 1.047 GB, free: 9.016 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.263e-05/0.4289, allocations: 19.98 kB / 1.047 GB, free: 8.996 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.4292, allocations: 36.23 kB / 1.047 GB, free: 8.961 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.4293, allocations: 55.86 kB / 1.047 GB, free: 8.906 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/0.4294, allocations: 24 kB / 1.047 GB, free: 8.883 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001144/0.4295, allocations: 135.7 kB / 1.047 GB, free: 8.75 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4295, allocations: 0 / 1.047 GB, free: 8.75 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007546/0.4302, allocations: 219.7 kB / 1.047 GB, free: 8.535 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005868/0.4308, allocations: 332.9 kB / 1.047 GB, free: 8.203 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006203/0.4315, allocations: 325 kB / 1.048 GB, free: 7.883 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4315, allocations: 0 / 1.048 GB, free: 7.883 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000312/0.4318, allocations: 191.6 kB / 1.048 GB, free: 7.695 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.432, allocations: 22.2 kB / 1.048 GB, free: 7.672 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.4331, allocations: 0.64 MB / 1.048 GB, free: 6.973 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.4335, allocations: 0.7691 MB / 1.049 GB, free: 6.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002405/0.4337, allocations: 59.19 kB / 1.049 GB, free: 6.121 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.4339, allocations: 43.41 kB / 1.049 GB, free: 6.078 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.4339, allocations: 0 / 1.049 GB, free: 6.078 MB / 0.698 GB Notification: Performance of Templates: time 0.009145/0.443, allocations: 4.812 MB / 1.054 GB, free: 1.309 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Utilities_Validation_SunRiseSetPositiveStartTime.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches