Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.383/1.383, allocations: 249.4 MB / 256.7 MB, free: 6.934 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.001082/0.001082, allocations: 183.5 kB / 316 MB, free: 3.547 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.583/1.583, allocations: 205.2 MB / 0.5667 GB, free: 15.59 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.001064/0.001064, allocations: 87.33 kB / 0.671 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.306e-06/8.346e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2543, allocations: 106.3 MB / 0.8846 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.775/1.029, allocations: 133 MB / 1.014 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/1.03, allocations: 81.94 kB / 1.015 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003255/1.033, allocations: 0.7909 MB / 1.015 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.145e-05/1.033, allocations: 4 kB / 1.015 GB, free: 5.148 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003759/1.033, allocations: 330.3 kB / 1.016 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/1.034, allocations: 8.031 kB / 1.016 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/1.034, allocations: 14.09 kB / 1.016 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/1.034, allocations: 174.9 kB / 1.016 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/1.034, allocations: 5.031 kB / 1.016 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/1.034, allocations: 4 kB / 1.016 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.208e-05/1.034, allocations: 18.69 kB / 1.016 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.719e-05/1.034, allocations: 49.42 kB / 1.016 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/1.034, allocations: 0 / 1.016 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/1.034, allocations: 0 / 1.016 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/1.034, allocations: 11.89 kB / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/1.034, allocations: 259.2 kB / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/1.035, allocations: 56.75 kB / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.685e-05/1.035, allocations: 19.98 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/1.035, allocations: 4 kB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/1.035, allocations: 30.56 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 2.886e-06/1.035, allocations: 96 / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.000218/1.035, allocations: 67.16 kB / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/1.035, allocations: 55.23 kB / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.385e-05/1.035, allocations: 89 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/1.035, allocations: 25.7 kB / 1.016 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.288e-05/1.035, allocations: 87.81 kB / 1.017 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/1.035, allocations: 15.75 kB / 1.017 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/1.035, allocations: 0 / 1.017 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001321/1.035, allocations: 318.7 kB / 1.017 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.918e-05/1.035, allocations: 8 kB / 1.017 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.861e-05/1.035, allocations: 15.17 kB / 1.017 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.641e-05/1.035, allocations: 7 kB / 1.017 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.035, allocations: 0 / 1.017 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.656e-05/1.036, allocations: 59.81 kB / 1.017 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/1.036, allocations: 8 kB / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.036, allocations: 0 / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/1.036, allocations: 0 / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.584e-05/1.036, allocations: 15.67 kB / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/1.036, allocations: 0 / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.233e-05/1.036, allocations: 3.906 kB / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/1.036, allocations: 4 kB / 1.017 GB, free: 3.309 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 (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 7.294e-05/1.036, allocations: 101 kB / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/1.036, allocations: 4 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001704/1.036, allocations: 78.52 kB / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/1.036, allocations: 0 / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.036, allocations: 3.938 kB / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/1.036, allocations: 0 / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/1.036, allocations: 157.5 kB / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.036, allocations: 4 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.578e-05/1.036, allocations: 15.98 kB / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/1.036, allocations: 0 / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/1.036, allocations: 0 / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/1.036, allocations: 0 / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.036, allocations: 0 / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000153/1.036, allocations: 162.1 kB / 1.018 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.167e-05/1.037, allocations: 77.11 kB / 1.018 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/1.037, allocations: 4 kB / 1.018 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.417e-05/1.037, allocations: 10.58 kB / 1.018 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/1.037, allocations: 7.984 kB / 1.018 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/1.037, allocations: 3.125 kB / 1.018 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.122e-05/1.037, allocations: 83.22 kB / 1.018 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002068/1.037, allocations: 11.94 kB / 1.018 GB, free: 2.555 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 (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 0.0001375/1.037, allocations: 95.58 kB / 1.018 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001047/1.037, allocations: 33.48 kB / 1.018 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.037, allocations: 4 kB / 1.018 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.054e-05/1.037, allocations: 24.3 kB / 1.018 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/1.037, allocations: 3.062 kB / 1.018 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002773/1.038, allocations: 88.62 kB / 1.018 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003893/1.038, allocations: 0.6997 MB / 1.019 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/1.038, allocations: 0 / 1.019 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of Templates: time 0.002376/1.04, allocations: 470 kB / 1.019 GB, free: 1.137 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches