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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.393/1.393, allocations: 249.4 MB / 256.7 MB, free: 0.7891 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 183.2 kB / 316 MB, free: 8.984 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.261/1.261, allocations: 205.1 MB / 0.5667 GB, free: 13.43 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008713/0.0008715, allocations: 100.2 kB / 0.671 GB, free: 51.6 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 6.242e-06/6.272e-06, allocations: 0 / 0.7807 GB, free: 9.953 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6217/0.6218, allocations: 106.3 MB / 0.8846 GB, free: 89.12 MB / 0.6434 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1835/0.8053, allocations: 131.3 MB / 1.013 GB, free: 14.3 MB / 0.659 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.8056, allocations: 82.39 kB / 1.013 GB, free: 14.23 MB / 0.659 GB Notification: Performance of FrontEnd: time 0.002213/0.8079, allocations: 0.4966 MB / 1.013 GB, free: 13.75 MB / 0.659 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.8079, allocations: 0 / 1.013 GB, free: 13.75 MB / 0.659 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.0002972/0.8082, allocations: 323.2 kB / 1.014 GB, free: 13.39 MB / 0.659 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.8082, allocations: 8.969 kB / 1.014 GB, free: 13.38 MB / 0.659 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.8083, allocations: 7.594 kB / 1.014 GB, free: 13.38 MB / 0.659 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.8084, allocations: 162.9 kB / 1.014 GB, free: 13.18 MB / 0.659 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.8084, allocations: 2.562 kB / 1.014 GB, free: 13.18 MB / 0.659 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.8084, allocations: 0 / 1.014 GB, free: 13.18 MB / 0.659 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.146e-05/0.8085, allocations: 15.98 kB / 1.014 GB, free: 13.17 MB / 0.659 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.835e-05/0.8086, allocations: 39.33 kB / 1.014 GB, free: 13.12 MB / 0.659 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.8086, allocations: 6.969 kB / 1.014 GB, free: 13.12 MB / 0.659 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.8086, allocations: 0 / 1.014 GB, free: 13.12 MB / 0.659 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.8087, allocations: 0 / 1.014 GB, free: 13.12 MB / 0.659 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003176/0.809, allocations: 221.5 kB / 1.014 GB, free: 12.87 MB / 0.659 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.8092, allocations: 42.97 kB / 1.014 GB, free: 12.82 MB / 0.659 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.304e-05/0.8092, allocations: 18.05 kB / 1.014 GB, free: 12.8 MB / 0.659 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.8092, allocations: 0 / 1.014 GB, free: 12.8 MB / 0.659 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.8092, allocations: 36.69 kB / 1.014 GB, free: 12.76 MB / 0.659 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.8093, allocations: 2.969 kB / 1.014 GB, free: 12.76 MB / 0.659 GB Notification: Performance of matching and sorting (n=3): time 0.0001721/0.8094, allocations: 45.72 kB / 1.014 GB, free: 12.71 MB / 0.659 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.8095, allocations: 52.72 kB / 1.014 GB, free: 12.64 MB / 0.659 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.076e-05/0.8095, allocations: 85 kB / 1.014 GB, free: 12.55 MB / 0.659 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.8095, allocations: 25.7 kB / 1.014 GB, free: 12.52 MB / 0.659 GB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.8096, allocations: 80.14 kB / 1.014 GB, free: 12.44 MB / 0.659 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.8096, allocations: 13.22 kB / 1.015 GB, free: 12.43 MB / 0.659 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/0.8096, allocations: 0 / 1.015 GB, free: 12.43 MB / 0.659 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.8097, allocations: 322.7 kB / 1.015 GB, free: 12.11 MB / 0.659 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.419e-05/0.8097, allocations: 6.625 kB / 1.015 GB, free: 12.1 MB / 0.659 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.919e-06/0.8098, allocations: 0 / 1.015 GB, free: 12.1 MB / 0.659 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.506e-05/0.8098, allocations: 8 kB / 1.015 GB, free: 12.09 MB / 0.659 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.8098, allocations: 0 / 1.015 GB, free: 12.09 MB / 0.659 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.886e-05/0.8099, allocations: 45.69 kB / 1.015 GB, free: 12.04 MB / 0.659 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.8099, allocations: 5.422 kB / 1.015 GB, free: 12.04 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.8099, allocations: 0 / 1.015 GB, free: 12.04 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.8099, allocations: 7.344 kB / 1.015 GB, free: 12.04 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.871e-05/0.81, allocations: 7.984 kB / 1.015 GB, free: 12.03 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.81, allocations: 5.484 kB / 1.015 GB, free: 12.02 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.667e-05/0.81, allocations: 3.906 kB / 1.015 GB, free: 12.02 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.81, allocations: 0 / 1.015 GB, free: 12.02 MB / 0.659 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.3e-05/0.8101, allocations: 101 kB / 1.015 GB, free: 11.91 MB / 0.659 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.8101, allocations: 0 / 1.015 GB, free: 11.91 MB / 0.659 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.8103, allocations: 70.2 kB / 1.015 GB, free: 11.84 MB / 0.659 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.8103, allocations: 1.188 kB / 1.015 GB, free: 11.84 MB / 0.659 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.8103, allocations: 3.906 kB / 1.015 GB, free: 11.84 MB / 0.659 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.8103, allocations: 0 / 1.015 GB, free: 11.84 MB / 0.659 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.8105, allocations: 142.2 kB / 1.015 GB, free: 11.66 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.8105, allocations: 1.938 kB / 1.015 GB, free: 11.66 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.822e-05/0.8105, allocations: 19.86 kB / 1.015 GB, free: 11.64 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.8105, allocations: 1.25 kB / 1.015 GB, free: 11.64 MB / 0.659 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.8105, allocations: 0 / 1.015 GB, free: 11.64 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.8106, allocations: 0 / 1.015 GB, free: 11.64 MB / 0.659 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.8106, allocations: 7.906 kB / 1.015 GB, free: 11.64 MB / 0.659 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001214/0.8107, allocations: 144.9 kB / 1.015 GB, free: 11.48 MB / 0.659 GB Notification: Performance of postOpt removeConstants (simulation): time 3.396e-05/0.8107, allocations: 86.02 kB / 1.015 GB, free: 11.38 MB / 0.659 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.8108, allocations: 0 / 1.015 GB, free: 11.38 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.713e-05/0.8108, allocations: 0.5625 kB / 1.015 GB, free: 11.38 MB / 0.659 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.8108, allocations: 7.109 kB / 1.015 GB, free: 11.38 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.8109, allocations: 8 kB / 1.015 GB, free: 11.37 MB / 0.659 GB Notification: Performance of sort global known variables: time 2.503e-05/0.8109, allocations: 75.88 kB / 1.016 GB, free: 11.29 MB / 0.659 GB Notification: Performance of remove unused functions: time 0.0002546/0.8111, allocations: 4 kB / 1.016 GB, free: 11.29 MB / 0.659 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.000122/0.8113, allocations: 100.2 kB / 1.016 GB, free: 11.18 MB / 0.659 GB Notification: Performance of simCode: created initialization part: time 8.122e-05/0.8114, allocations: 24.78 kB / 1.016 GB, free: 11.16 MB / 0.659 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8114, allocations: 0 / 1.016 GB, free: 11.16 MB / 0.659 GB Notification: Performance of simCode: created simulation system equations: time 2.424e-05/0.8114, allocations: 17.75 kB / 1.016 GB, free: 11.14 MB / 0.659 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.8115, allocations: 3.984 kB / 1.016 GB, free: 11.14 MB / 0.659 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002253/0.8118, allocations: 78.19 kB / 1.016 GB, free: 11.04 MB / 0.659 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002524/0.812, allocations: 0.6929 MB / 1.016 GB, free: 10.33 MB / 0.659 GB Notification: Performance of SimCode: time 2.91e-07/0.812, allocations: 0 / 1.016 GB, free: 10.33 MB / 0.659 GB Notification: Performance of Templates: time 0.002079/0.8141, allocations: 363.8 kB / 1.017 GB, free: 10.01 MB / 0.659 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