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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.412/2.412, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 177.1 kB / 498.1 MB, free: 5.742 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 223.2 MB / 0.7948 GB, free: 17.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 100 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003463, allocations: 11.12 kB / 1.084 GB, free: 220.9 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2719, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1771/0.449, allocations: 149.7 MB / 1.369 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.4493, allocations: 79.95 kB / 1.369 GB, free: 12.33 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00244/0.4517, allocations: 0.8621 MB / 1.37 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.794e-06/0.4518, allocations: 0 / 1.37 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.4518, allocations: 0 / 1.37 GB, free: 11.47 MB / 0.8698 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.0003065/0.4521, allocations: 323.4 kB / 1.37 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.4521, allocations: 8.031 kB / 1.37 GB, free: 11.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.787e-05/0.4522, allocations: 4 kB / 1.37 GB, free: 11.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.004e-05/0.4523, allocations: 171 kB / 1.37 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.4523, allocations: 0 / 1.37 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.4523, allocations: 8 kB / 1.37 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.4524, allocations: 41.69 kB / 1.37 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.4524, allocations: 0 / 1.37 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.4524, allocations: 0 / 1.37 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.4525, allocations: 0 / 1.37 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.849e-05/0.4525, allocations: 15.92 kB / 1.37 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003146/0.4528, allocations: 248.8 kB / 1.371 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.453, allocations: 42.56 kB / 1.371 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.453, allocations: 4.062 kB / 1.371 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.453, allocations: 30.56 kB / 1.371 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.4531, allocations: 0 / 1.371 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0001603/0.4532, allocations: 53.72 kB / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.4533, allocations: 51.41 kB / 1.371 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.898e-05/0.4533, allocations: 85 kB / 1.371 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.4533, allocations: 33.7 kB / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.405e-05/0.4534, allocations: 84.12 kB / 1.371 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.4534, allocations: 7.906 kB / 1.371 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/0.4534, allocations: 0 / 1.371 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.4535, allocations: 318.7 kB / 1.371 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/0.4535, allocations: 4 kB / 1.371 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.387e-05/0.4536, allocations: 11.98 kB / 1.371 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.414e-05/0.4536, allocations: 4 kB / 1.371 GB, free: 9.75 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4536, allocations: 0 / 1.371 GB, free: 9.75 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.888e-05/0.4537, allocations: 57.62 kB / 1.371 GB, free: 9.688 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.4537, allocations: 4 kB / 1.371 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.4537, allocations: 0 / 1.371 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.4537, allocations: 0 / 1.371 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.75e-05/0.4538, allocations: 7.938 kB / 1.371 GB, free: 9.676 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.4538, allocations: 0 / 1.371 GB, free: 9.676 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.617e-05/0.4538, allocations: 7.984 kB / 1.371 GB, free: 9.668 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.4538, allocations: 0 / 1.371 GB, free: 9.668 MB / 0.8698 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 () * Number of clocked 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.485e-05/0.4539, allocations: 109.8 kB / 1.372 GB, free: 9.551 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/0.4539, allocations: 4 kB / 1.372 GB, free: 9.547 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.4541, allocations: 84.95 kB / 1.372 GB, free: 9.453 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.4541, allocations: 0 / 1.372 GB, free: 9.453 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4541, allocations: 4.328 kB / 1.372 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.4541, allocations: 0 / 1.372 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.4543, allocations: 161.6 kB / 1.372 GB, free: 9.242 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4543, allocations: 4 kB / 1.372 GB, free: 9.238 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.618e-05/0.4544, allocations: 11.98 kB / 1.372 GB, free: 9.227 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.4544, allocations: 3.984 kB / 1.372 GB, free: 9.223 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.4544, allocations: 8 kB / 1.372 GB, free: 9.215 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4544, allocations: 64 / 1.372 GB, free: 9.215 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4544, allocations: 4 kB / 1.372 GB, free: 9.211 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.4545, allocations: 159.4 kB / 1.372 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.848e-05/0.4546, allocations: 81.11 kB / 1.372 GB, free: 8.941 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.4546, allocations: 0 / 1.372 GB, free: 8.941 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.398e-05/0.4547, allocations: 0 / 1.372 GB, free: 8.941 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/0.4547, allocations: 3.984 kB / 1.372 GB, free: 8.938 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.4547, allocations: 12 kB / 1.372 GB, free: 8.926 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.438e-05/0.4547, allocations: 75.28 kB / 1.372 GB, free: 8.852 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.4547, allocations: 0 / 1.372 GB, free: 8.852 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001976/0.4549, allocations: 4 kB / 1.372 GB, free: 8.848 MB / 0.8698 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 () * Number of clocked 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.0001116/0.455, allocations: 103 kB / 1.372 GB, free: 8.738 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.143e-05/0.4551, allocations: 27.92 kB / 1.372 GB, free: 8.711 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4551, allocations: 0 / 1.372 GB, free: 8.711 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.784e-05/0.4552, allocations: 19.94 kB / 1.372 GB, free: 8.691 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001135/0.4553, allocations: 7.953 kB / 1.372 GB, free: 8.684 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.4556, allocations: 124.6 kB / 1.372 GB, free: 8.527 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.4558, allocations: 0.6809 MB / 1.373 GB, free: 7.82 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.328e-05/0.4558, allocations: 4 kB / 1.373 GB, free: 7.816 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/0.4559, allocations: 11.42 kB / 1.373 GB, free: 7.805 MB / 0.8698 GB Notification: Performance of SimCode: time 2.2e-07/0.4559, allocations: 4 kB / 1.373 GB, free: 7.801 MB / 0.8698 GB Notification: Performance of Templates: time 0.00203/0.4579, allocations: 331.2 kB / 1.373 GB, free: 7.484 MB / 0.8698 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","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches