Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") [: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.801/1.801, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.0009636/0.0009637, allocations: 179.9 kB / 487 MB, free: 5.375 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.127/1.127, allocations: 221.3 MB / 0.7819 GB, free: 1.371 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.0008191/0.0008191, allocations: 94.83 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.492e-06/6.522e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1722, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4831/0.6553, allocations: 148.8 MB / 1.35 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.6556, allocations: 77.27 kB / 1.351 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01087/0.6665, allocations: 4.502 MB / 1.355 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.6665, allocations: 0.9062 kB / 1.355 GB, free: 15.29 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0001835/0.6667, allocations: 353.6 kB / 1.355 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.6667, allocations: 9.891 kB / 1.355 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.6668, allocations: 79.94 kB / 1.355 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.9e-05/0.6668, allocations: 241.4 kB / 1.356 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.6669, allocations: 150.6 kB / 1.356 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.6669, allocations: 151.7 kB / 1.356 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.394e-05/0.6669, allocations: 159.5 kB / 1.356 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 2.778e-05/0.667, allocations: 101.8 kB / 1.356 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.667, allocations: 80.22 kB / 1.356 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.667, allocations: 154.5 kB / 1.356 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/0.667, allocations: 152.4 kB / 1.357 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.6672, allocations: 436.3 kB / 1.357 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.795e-05/0.6672, allocations: 174.1 kB / 1.357 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.414e-05/0.6672, allocations: 80.14 kB / 1.357 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.6673, allocations: 76.22 kB / 1.357 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.6673, allocations: 113.6 kB / 1.357 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.6673, allocations: 0 / 1.357 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.531e-05/0.6674, allocations: 35.36 kB / 1.357 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.35e-05/0.6674, allocations: 51.41 kB / 1.357 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.758e-05/0.6675, allocations: 97.58 kB / 1.358 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.6675, allocations: 26.92 kB / 1.358 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.829e-05/0.6675, allocations: 81.27 kB / 1.358 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.6675, allocations: 3.188 kB / 1.358 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.593e-06/0.6675, allocations: 0 / 1.358 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.426e-05/0.6675, allocations: 315.8 kB / 1.358 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.229e-05/0.6676, allocations: 3.625 kB / 1.358 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.11e-05/0.6676, allocations: 12.42 kB / 1.358 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.967e-05/0.6676, allocations: 4.594 kB / 1.358 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.6676, allocations: 0 / 1.358 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.156e-05/0.6677, allocations: 42.03 kB / 1.358 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.6677, allocations: 5.75 kB / 1.358 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.6677, allocations: 4.703 kB / 1.358 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/0.6678, allocations: 128 / 1.358 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.6678, allocations: 5.094 kB / 1.358 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.696e-06/0.6678, allocations: 0 / 1.358 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.193e-05/0.6678, allocations: 3.281 kB / 1.358 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.6678, allocations: 1.094 kB / 1.358 GB, free: 12.07 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 4.342e-05/0.6679, allocations: 179.9 kB / 1.358 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.6679, allocations: 109.6 kB / 1.358 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/0.668, allocations: 111.5 kB / 1.358 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.015e-05/0.668, allocations: 185.5 kB / 1.359 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-05/0.668, allocations: 184.7 kB / 1.359 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.98e-05/0.668, allocations: 179.2 kB / 1.359 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.893e-05/0.6681, allocations: 379.4 kB / 1.359 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.6682, allocations: 109.9 kB / 1.359 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.24e-05/0.6682, allocations: 111.2 kB / 1.36 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-05/0.6682, allocations: 177.3 kB / 1.36 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.6682, allocations: 189.5 kB / 1.36 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.785e-05/0.6683, allocations: 179 kB / 1.36 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.826e-05/0.6683, allocations: 178.6 kB / 1.36 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.019e-05/0.6684, allocations: 308.2 kB / 1.36 GB, free: 25.44 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.122e-05/0.6685, allocations: 189.1 kB / 1.361 GB, free: 25.23 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.237e-05/0.6685, allocations: 182.2 kB / 1.361 GB, free: 25.05 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.503e-05/0.6686, allocations: 102 kB / 1.361 GB, free: 24.94 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.6686, allocations: 178.2 kB / 1.361 GB, free: 24.76 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.153e-05/0.6687, allocations: 111.2 kB / 1.361 GB, free: 24.65 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.441e-05/0.6687, allocations: 84.7 kB / 1.361 GB, free: 24.57 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000201/0.6689, allocations: 5.484 kB / 1.361 GB, free: 24.57 MB / 0.823 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 (0): * Single equations (assignments): 0 * 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.0001895/0.6691, allocations: 184 kB / 1.361 GB, free: 24.41 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 7.854e-05/0.6692, allocations: 15.27 kB / 1.361 GB, free: 24.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.6692, allocations: 0 / 1.361 GB, free: 24.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.864e-06/0.6692, allocations: 4.062 kB / 1.362 GB, free: 24.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.6695, allocations: 0.5239 MB / 1.362 GB, free: 23.88 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001345/0.6696, allocations: 127.5 kB / 1.362 GB, free: 23.73 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.6698, allocations: 0.6853 MB / 1.363 GB, free: 23.03 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/0.6698, allocations: 0 / 1.363 GB, free: 23.03 MB / 0.823 GB Notification: Performance of Templates: time 0.001734/0.6716, allocations: 407.7 kB / 1.363 GB, free: 22.99 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches