Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.572/1.572, allocations: 249.5 MB / 257 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001687/0.001687, allocations: 183.3 kB / 316.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.961/1.961, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.001049/0.00105, allocations: 82.48 kB / 0.6714 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.696e-05/1.708e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1902, allocations: 106.3 MB / 0.8852 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6126/0.8028, allocations: 132.4 MB / 1.014 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002037/0.803, allocations: 75.52 kB / 1.015 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002067/0.8051, allocations: 0.8137 MB / 1.015 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8051, allocations: 0 / 1.015 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.8051, allocations: 0 / 1.015 GB, free: 4.664 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002733/0.8054, allocations: 322.4 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.8055, allocations: 8.031 kB / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.8055, allocations: 4 kB / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.888e-05/0.8056, allocations: 167 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.8056, allocations: 7.984 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.8056, allocations: 0 / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.708e-05/0.8057, allocations: 11.38 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.942e-05/0.8058, allocations: 36.38 kB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.8058, allocations: 3.938 kB / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.8058, allocations: 0 / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.8058, allocations: 1.031 kB / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000286/0.8061, allocations: 228.6 kB / 1.016 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.8063, allocations: 43.48 kB / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.493e-05/0.8063, allocations: 11.67 kB / 1.016 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.8063, allocations: 0 / 1.016 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.8063, allocations: 30.56 kB / 1.016 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.8063, allocations: 0 / 1.016 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001478/0.8065, allocations: 48.53 kB / 1.016 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.8065, allocations: 58.14 kB / 1.016 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.01e-05/0.8066, allocations: 91.86 kB / 1.016 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.8066, allocations: 25.7 kB / 1.016 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.9e-05/0.8066, allocations: 84.08 kB / 1.016 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.8067, allocations: 15.75 kB / 1.016 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.8067, allocations: 0 / 1.016 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.8068, allocations: 314.8 kB / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.339e-05/0.8068, allocations: 6.875 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.907e-06/0.8068, allocations: 7.562 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.427e-05/0.8068, allocations: 7.984 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.8068, allocations: 0 / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.209e-05/0.8069, allocations: 45.06 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.8069, allocations: 4 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.8069, allocations: 2.125 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.807, allocations: 3.938 kB / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.187e-05/0.807, allocations: 4 kB / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.807, allocations: 4 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.194e-05/0.807, allocations: 0 / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.8071, allocations: 3.984 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.566e-05/0.8071, allocations: 108.9 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.8072, allocations: 0 / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.8073, allocations: 71.23 kB / 1.017 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.8073, allocations: 0 / 1.017 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.8073, allocations: 0 / 1.017 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.8073, allocations: 0 / 1.017 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.8075, allocations: 141.4 kB / 1.017 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.8075, allocations: 3.953 kB / 1.017 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.875e-05/0.8075, allocations: 15.94 kB / 1.017 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.8075, allocations: 0.875 kB / 1.017 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.8075, allocations: 0 / 1.017 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.8076, allocations: 0 / 1.017 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.8076, allocations: 0 / 1.017 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.8077, allocations: 159.9 kB / 1.017 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.8077, allocations: 85.05 kB / 1.017 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.8078, allocations: 4 kB / 1.017 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.064e-05/0.8078, allocations: 4 kB / 1.017 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.8078, allocations: 3 kB / 1.017 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.8078, allocations: 4 kB / 1.017 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.475e-05/0.8079, allocations: 75.28 kB / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8079, allocations: 0 / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000207/0.8081, allocations: 4 kB / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0001147/0.8082, allocations: 103.2 kB / 1.018 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.26e-05/0.8083, allocations: 21.56 kB / 1.018 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.8083, allocations: 4 kB / 1.018 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.91e-05/0.8083, allocations: 11 kB / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001248/0.8085, allocations: 10.47 kB / 1.018 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001765/0.8086, allocations: 69.62 kB / 1.018 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.8089, allocations: 0.6845 MB / 1.018 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.159e-05/0.8089, allocations: 3.859 kB / 1.018 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.8089, allocations: 18.44 kB / 1.018 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/0.809, allocations: 0 / 1.018 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of Templates: time 0.001722/0.8107, allocations: 332.6 kB / 1.019 GB, free: 0.9609 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches