Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008324/0.008324, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.001974/0.001974, allocations: 196.6 kB / 16.67 MB, free: 5.969 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.523/2.523, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 62.84 kB / 0.9508 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3557, allocations: 140.4 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.003436/0.3592, allocations: 1.443 MB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.3603, allocations: 0.4962 MB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.323e-05/0.3604, allocations: 0 / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.407e-05/0.3604, allocations: 3.938 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.3607, allocations: 35.84 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001137/0.3608, allocations: 27.89 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.3609, allocations: 43.86 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.892e-05/0.361, allocations: 7.984 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.3612, allocations: 35.91 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.541e-05/0.3612, allocations: 19.92 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.3613, allocations: 4 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.225e-05/0.3613, allocations: 7.938 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.751e-05/0.3613, allocations: 11.92 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.374e-05/0.3614, allocations: 23.92 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.3615, allocations: 43.81 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.3615, allocations: 4 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3615, allocations: 0 / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.473e-06/0.3615, allocations: 0 / 1.09 GB, free: 15.25 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006477/0.3622, allocations: 347.4 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.3622, allocations: 12.03 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.3623, allocations: 4.938 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.3625, allocations: 176.3 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.3625, allocations: 4.375 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.3625, allocations: 4.375 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.3627, allocations: 57.98 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3627, allocations: 0 / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.3627, allocations: 3.984 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3627, allocations: 0 / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.543e-05/0.3628, allocations: 27.97 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.3632, allocations: 284.7 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.3634, allocations: 58.67 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.384e-05/0.3635, allocations: 28.84 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.3635, allocations: 3.938 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002128/0.3637, allocations: 75.31 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.3638, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.000274/0.364, allocations: 97.62 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.3641, allocations: 51.41 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.55e-05/0.3642, allocations: 105.8 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.3642, allocations: 25.7 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.626e-05/0.3643, allocations: 80.14 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.3643, allocations: 15.91 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.3644, allocations: 25.7 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002521/0.3646, allocations: 318.8 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.046e-05/0.3647, allocations: 15.98 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.173e-05/0.3647, allocations: 16 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.112e-05/0.3648, allocations: 45 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3648, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001204/0.3649, allocations: 73.62 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3649, allocations: 4 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.365, allocations: 0 / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.365, allocations: 8 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.898e-05/0.3651, allocations: 15.92 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3651, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.602e-05/0.3652, allocations: 3.938 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.3652, allocations: 11.98 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.000106/0.3653, allocations: 117.7 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.3653, allocations: 3.953 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000214/0.3655, allocations: 105.6 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3655, allocations: 4 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3655, allocations: 0 / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.3656, allocations: 0 / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.3657, allocations: 181.6 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.3657, allocations: 4 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.677e-05/0.3658, allocations: 8 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3658, allocations: 0 / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3658, allocations: 0 / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3658, allocations: 0 / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3658, allocations: 4 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.366, allocations: 128.9 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/0.3661, allocations: 81.09 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.3661, allocations: 8 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.354e-05/0.3662, allocations: 0 / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.3662, allocations: 7.984 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.3663, allocations: 4.25 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.864e-05/0.3663, allocations: 87.45 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3663, allocations: 0 / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001984/0.3665, allocations: 12 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001414/0.3667, allocations: 111.3 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000155/0.3668, allocations: 56.03 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3668, allocations: 0 / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.598e-05/0.3669, allocations: 35.92 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.3671, allocations: 8 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003524/0.3674, allocations: 142.4 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.3677, allocations: 0.6846 MB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.394e-05/0.3678, allocations: 11.73 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.06e-05/0.3678, allocations: 11.44 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.3678, allocations: 0 / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of Templates: time 0.00318/0.371, allocations: 0.6943 MB / 1.094 GB, free: 10.41 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches