Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001731/0.001731, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002325/0.002325, allocations: 193.7 kB / 16.14 MB, free: 6.699 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.371/1.371, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.56/2.56, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 71.89 kB / 0.8685 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6786/0.6798, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.003233/0.6831, allocations: 1.511 MB / 1.018 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008908/0.684, allocations: 0.4987 MB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.768e-05/0.6841, allocations: 0 / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.349e-05/0.6841, allocations: 0 / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002528/0.6844, allocations: 19.92 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.6845, allocations: 23.91 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.422e-05/0.6846, allocations: 51.78 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.6848, allocations: 15.94 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.6849, allocations: 23.91 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.763e-05/0.685, allocations: 23.92 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.685, allocations: 0 / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.805e-05/0.685, allocations: 4 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.729e-05/0.685, allocations: 3.984 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.46e-05/0.6851, allocations: 23.91 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.845e-05/0.6852, allocations: 37.86 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6852, allocations: 0 / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.41e-07/0.6852, allocations: 4 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.6852, allocations: 0 / 1.019 GB, free: 0.5312 MB / 0.7637 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.00063/0.6859, allocations: 355.4 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.6859, allocations: 12.03 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/0.686, allocations: 0.9375 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.6861, allocations: 172.3 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.6862, allocations: 384 / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.6862, allocations: 8.375 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.6863, allocations: 61.97 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.6863, allocations: 0 / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.6864, allocations: 0 / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.6864, allocations: 0 / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.041e-05/0.6864, allocations: 23.98 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.6869, allocations: 288.5 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.6871, allocations: 66.69 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.86e-05/0.6872, allocations: 28.83 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.6872, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002013/0.6874, allocations: 67.38 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.6874, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0002435/0.6877, allocations: 101.6 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.6877, allocations: 51.41 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.064e-05/0.6878, allocations: 105.8 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.6878, allocations: 25.7 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.876e-05/0.6879, allocations: 84.14 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.6879, allocations: 15.72 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.6879, allocations: 21.7 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.6881, allocations: 318.8 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.011e-05/0.6881, allocations: 19.98 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.324e-05/0.6881, allocations: 16.06 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.822e-05/0.6882, allocations: 44.78 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.6882, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001266/0.6884, allocations: 69.69 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.6884, allocations: 10.28 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.6884, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.6884, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.133e-05/0.6885, allocations: 11.98 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.6885, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.09e-05/0.6886, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.6886, allocations: 7.984 kB / 1.021 GB, free: 14.35 MB / 0.7794 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 8.217e-05/0.6887, allocations: 118.2 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.6887, allocations: 7.906 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.689, allocations: 109.5 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.689, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.689, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.689, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.6891, allocations: 185.6 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.6892, allocations: 0 / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.33e-05/0.6892, allocations: 12 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.6892, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.6893, allocations: 7.938 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.6893, allocations: 3.984 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6893, allocations: 0 / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.6894, allocations: 124.9 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.6895, allocations: 81.11 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.6895, allocations: 0 / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-05/0.6896, allocations: 4 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.6897, allocations: 11.98 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.6897, allocations: 4.25 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.005e-05/0.6897, allocations: 83.27 kB / 1.021 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6897, allocations: 0 / 1.021 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000192/0.6899, allocations: 12.19 kB / 1.021 GB, free: 13.5 MB / 0.7794 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.0001192/0.69, allocations: 107.2 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001327/0.6902, allocations: 51.86 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6902, allocations: 0 / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.661e-05/0.6903, allocations: 35.92 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.6904, allocations: 4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.6908, allocations: 159.6 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.691, allocations: 0.6888 MB / 1.022 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.001e-05/0.6911, allocations: 12.3 kB / 1.022 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.6911, allocations: 11.44 kB / 1.022 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6912, allocations: 3.938 kB / 1.022 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of Templates: time 0.002709/0.6939, allocations: 0.6419 MB / 1.023 GB, free: 11.73 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches