Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [: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 9.1.1-maint.9.1.x/package.mo): time 1.776/1.776, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.0009221/0.000922, allocations: 181.3 kB / 487 MB, free: 5.383 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.129/1.129, allocations: 221.3 MB / 0.7819 GB, free: 1.477 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007901/0.0007901, allocations: 90.89 kB / 0.9213 GB, free: 2.715 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.861e-06/5.881e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1773, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5017/0.679, allocations: 149.5 MB / 1.351 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/0.6793, allocations: 85.73 kB / 1.351 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.002772/0.6821, allocations: 0.8363 MB / 1.352 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.6821, allocations: 1.062 kB / 1.352 GB, free: 15.87 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002176/0.6823, allocations: 331.9 kB / 1.352 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.6824, allocations: 9.594 kB / 1.352 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.6824, allocations: 9.812 kB / 1.352 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.787e-05/0.6825, allocations: 170.7 kB / 1.353 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.6825, allocations: 4.906 kB / 1.353 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/0.6825, allocations: 2.438 kB / 1.353 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.003e-05/0.6826, allocations: 20.64 kB / 1.353 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.935e-05/0.6827, allocations: 46.5 kB / 1.353 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.6827, allocations: 0 / 1.353 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.6827, allocations: 5 kB / 1.353 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.6827, allocations: 5.031 kB / 1.353 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/0.683, allocations: 257.1 kB / 1.353 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.6831, allocations: 53.86 kB / 1.353 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.007e-05/0.6832, allocations: 20.33 kB / 1.353 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.6832, allocations: 0.7812 kB / 1.353 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.39e-05/0.6832, allocations: 48.41 kB / 1.353 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.6832, allocations: 0 / 1.353 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5): time 0.0001389/0.6834, allocations: 52.17 kB / 1.353 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.488e-05/0.6834, allocations: 52.84 kB / 1.353 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.382e-05/0.6834, allocations: 92.73 kB / 1.353 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.6835, allocations: 27.84 kB / 1.353 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.846e-05/0.6835, allocations: 92.86 kB / 1.353 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.6835, allocations: 10.58 kB / 1.353 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-06/0.6835, allocations: 4.688 kB / 1.353 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.294e-05/0.6836, allocations: 317.5 kB / 1.354 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.6836, allocations: 8.219 kB / 1.354 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.749e-05/0.6836, allocations: 11.47 kB / 1.354 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.378e-05/0.6836, allocations: 12.11 kB / 1.354 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6836, allocations: 1.359 kB / 1.354 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.487e-05/0.6837, allocations: 62.14 kB / 1.354 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.866e-06/0.6837, allocations: 4 kB / 1.354 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.6837, allocations: 1.344 kB / 1.354 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.6838, allocations: 0 / 1.354 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.722e-05/0.6838, allocations: 12.06 kB / 1.354 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.6838, allocations: 1.969 kB / 1.354 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.874e-05/0.6839, allocations: 1.344 kB / 1.354 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.6839, allocations: 1.312 kB / 1.354 GB, free: 14.27 MB / 0.8073 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 (5): * Single equations (assignments): 5 * 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 3.633e-05/0.6839, allocations: 102.3 kB / 1.354 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.6839, allocations: 5.25 kB / 1.354 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.6841, allocations: 81.94 kB / 1.354 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.6841, allocations: 6.5 kB / 1.354 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.6841, allocations: 0 / 1.354 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.6841, allocations: 2.234 kB / 1.354 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.6842, allocations: 150.6 kB / 1.354 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6842, allocations: 1.188 kB / 1.354 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.993e-05/0.6843, allocations: 11.08 kB / 1.354 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.6843, allocations: 1.188 kB / 1.354 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.6843, allocations: 0.75 kB / 1.354 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.6843, allocations: 1.156 kB / 1.354 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.6843, allocations: 0 / 1.354 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.983e-05/0.6844, allocations: 171.7 kB / 1.354 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.785e-05/0.6844, allocations: 86.36 kB / 1.354 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.6845, allocations: 9.094 kB / 1.354 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.996e-05/0.6845, allocations: 5.344 kB / 1.354 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.686e-05/0.6846, allocations: 3.047 kB / 1.354 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.6846, allocations: 10.69 kB / 1.354 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.89e-05/0.6846, allocations: 79.5 kB / 1.354 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001959/0.6848, allocations: 7.031 kB / 1.354 GB, free: 13.64 MB / 0.8073 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 (8): * Single equations (assignments): 8 * 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 7.739e-05/0.6849, allocations: 100.9 kB / 1.355 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.492e-05/0.685, allocations: 28.98 kB / 1.355 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.685, allocations: 0.7188 kB / 1.355 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.993e-05/0.685, allocations: 27.75 kB / 1.355 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000119/0.6851, allocations: 7.688 kB / 1.355 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002087/0.6853, allocations: 78.91 kB / 1.355 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.6856, allocations: 0.7015 MB / 1.355 GB, free: 28.77 MB / 0.823 GB Notification: Performance of SimCode: time 2.51e-07/0.6856, allocations: 1.125 kB / 1.355 GB, free: 28.77 MB / 0.823 GB Notification: Performance of Templates: time 0.001904/0.6875, allocations: 462.1 kB / 1.356 GB, free: 28.71 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches