Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.358/1.358, allocations: 249.4 MB / 256.7 MB, free: 0.7305 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.001197/0.001197, allocations: 184.1 kB / 316 MB, free: 8.91 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.699/1.699, allocations: 205.1 MB / 0.5667 GB, free: 13.42 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.001006/0.001006, allocations: 82.28 kB / 0.671 GB, free: 51.62 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 9.799e-06/9.949e-06, allocations: 4 kB / 0.7807 GB, free: 9.945 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7453/0.7453, allocations: 106.3 MB / 0.8846 GB, free: 89.15 MB / 0.6433 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1862/0.9315, allocations: 131.2 MB / 1.013 GB, free: 14.52 MB / 0.6589 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/0.9318, allocations: 75.95 kB / 1.013 GB, free: 14.45 MB / 0.6589 GB Notification: Performance of FrontEnd: time 0.01381/0.9457, allocations: 4.478 MB / 1.017 GB, free: 10.07 MB / 0.6589 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.9457, allocations: 0.75 kB / 1.017 GB, free: 10.07 MB / 0.6589 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.0003574/0.9461, allocations: 362.9 kB / 1.017 GB, free: 9.672 MB / 0.6589 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.9461, allocations: 8.031 kB / 1.017 GB, free: 9.664 MB / 0.6589 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.533e-05/0.9462, allocations: 80.25 kB / 1.018 GB, free: 9.586 MB / 0.6589 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.9464, allocations: 242.3 kB / 1.018 GB, free: 9.309 MB / 0.6589 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.285e-05/0.9464, allocations: 151.6 kB / 1.018 GB, free: 9.16 MB / 0.6589 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.692e-05/0.9465, allocations: 152.9 kB / 1.018 GB, free: 9.012 MB / 0.6589 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.913e-05/0.9466, allocations: 150.6 kB / 1.018 GB, free: 8.863 MB / 0.6589 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.938e-05/0.9467, allocations: 101 kB / 1.018 GB, free: 8.758 MB / 0.6589 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.191e-05/0.9467, allocations: 79.28 kB / 1.018 GB, free: 8.68 MB / 0.6589 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.306e-05/0.9468, allocations: 156.3 kB / 1.019 GB, free: 8.527 MB / 0.6589 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.439e-05/0.9468, allocations: 153.4 kB / 1.019 GB, free: 8.379 MB / 0.6589 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003083/0.9471, allocations: 431.5 kB / 1.019 GB, free: 7.922 MB / 0.6589 GB Notification: Performance of preOpt comSubExp (simulation): time 9.446e-05/0.9472, allocations: 170.3 kB / 1.019 GB, free: 7.746 MB / 0.6589 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.34e-05/0.9473, allocations: 86.09 kB / 1.019 GB, free: 7.66 MB / 0.6589 GB Notification: Performance of preOpt evalFunc (simulation): time 8.515e-05/0.9474, allocations: 76.28 kB / 1.019 GB, free: 7.586 MB / 0.6589 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.051e-05/0.9474, allocations: 110.4 kB / 1.019 GB, free: 7.469 MB / 0.6589 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.9475, allocations: 0.7812 kB / 1.019 GB, free: 7.469 MB / 0.6589 GB Notification: Performance of matching and sorting (n=0): time 8.197e-05/0.9475, allocations: 34.58 kB / 1.02 GB, free: 7.43 MB / 0.6589 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.9476, allocations: 52.25 kB / 1.02 GB, free: 7.367 MB / 0.6589 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.9477, allocations: 97.59 kB / 1.02 GB, free: 7.266 MB / 0.6589 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.9477, allocations: 25.7 kB / 1.02 GB, free: 7.234 MB / 0.6589 GB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.9478, allocations: 81.39 kB / 1.02 GB, free: 7.152 MB / 0.6589 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.9478, allocations: 0 / 1.02 GB, free: 7.152 MB / 0.6589 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-06/0.9478, allocations: 0.9375 kB / 1.02 GB, free: 7.152 MB / 0.6589 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.948, allocations: 318.7 kB / 1.02 GB, free: 6.832 MB / 0.6589 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/0.948, allocations: 7.094 kB / 1.02 GB, free: 6.828 MB / 0.6589 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.745e-05/0.948, allocations: 12 kB / 1.02 GB, free: 6.816 MB / 0.6589 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.628e-05/0.948, allocations: 9.859 kB / 1.02 GB, free: 6.809 MB / 0.6589 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.9481, allocations: 0 / 1.02 GB, free: 6.809 MB / 0.6589 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001246/0.9482, allocations: 33.7 kB / 1.02 GB, free: 6.77 MB / 0.6589 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.9482, allocations: 8 kB / 1.02 GB, free: 6.762 MB / 0.6589 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.9482, allocations: 3.938 kB / 1.02 GB, free: 6.758 MB / 0.6589 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.9482, allocations: 1.469 kB / 1.02 GB, free: 6.758 MB / 0.6589 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.302e-06/0.9483, allocations: 3.938 kB / 1.02 GB, free: 6.754 MB / 0.6589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.9483, allocations: 0 / 1.02 GB, free: 6.754 MB / 0.6589 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.846e-05/0.9483, allocations: 4.703 kB / 1.02 GB, free: 6.75 MB / 0.6589 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.9484, allocations: 7.906 kB / 1.02 GB, free: 6.742 MB / 0.6589 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 0.0001164/0.9485, allocations: 179.1 kB / 1.02 GB, free: 6.562 MB / 0.6589 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-05/0.9486, allocations: 103 kB / 1.02 GB, free: 6.457 MB / 0.6589 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.228e-05/0.9487, allocations: 112.5 kB / 1.021 GB, free: 6.34 MB / 0.6589 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.242e-05/0.9487, allocations: 188.2 kB / 1.021 GB, free: 6.148 MB / 0.6589 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-05/0.9488, allocations: 178.7 kB / 1.021 GB, free: 5.969 MB / 0.6589 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-05/0.9489, allocations: 180.2 kB / 1.021 GB, free: 5.785 MB / 0.6589 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/0.9492, allocations: 389.7 kB / 1.021 GB, free: 5.359 MB / 0.6589 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.111e-05/0.9492, allocations: 102.9 kB / 1.022 GB, free: 5.254 MB / 0.6589 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.094e-05/0.9493, allocations: 106.3 kB / 1.022 GB, free: 5.145 MB / 0.6589 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.239e-05/0.9493, allocations: 180.2 kB / 1.022 GB, free: 4.961 MB / 0.6589 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.501e-05/0.9494, allocations: 181.4 kB / 1.022 GB, free: 4.777 MB / 0.6589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.146e-05/0.9495, allocations: 177.6 kB / 1.022 GB, free: 4.598 MB / 0.6589 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.553e-05/0.9496, allocations: 188.2 kB / 1.022 GB, free: 4.406 MB / 0.6589 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001578/0.9498, allocations: 305.5 kB / 1.023 GB, free: 4.086 MB / 0.6589 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.9499, allocations: 190 kB / 1.023 GB, free: 3.875 MB / 0.6589 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.86e-05/0.95, allocations: 176.3 kB / 1.023 GB, free: 3.695 MB / 0.6589 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.293e-05/0.9501, allocations: 101 kB / 1.023 GB, free: 3.59 MB / 0.6589 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.9502, allocations: 188.1 kB / 1.023 GB, free: 3.398 MB / 0.6589 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.064e-05/0.9503, allocations: 102.5 kB / 1.023 GB, free: 3.293 MB / 0.6589 GB Notification: Performance of sort global known variables: time 5.524e-05/0.9503, allocations: 87.27 kB / 1.023 GB, free: 3.207 MB / 0.6589 GB Notification: Performance of remove unused functions: time 0.0002603/0.9506, allocations: 8 kB / 1.023 GB, free: 3.199 MB / 0.6589 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.0002557/0.9508, allocations: 187.6 kB / 1.024 GB, free: 3.012 MB / 0.6589 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.951, allocations: 8.016 kB / 1.024 GB, free: 3.004 MB / 0.6589 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.951, allocations: 0 / 1.024 GB, free: 3.004 MB / 0.6589 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.951, allocations: 3.938 kB / 1.024 GB, free: 3 MB / 0.6589 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.9513, allocations: 0.5225 MB / 1.024 GB, free: 2.473 MB / 0.6589 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002108/0.9515, allocations: 131.2 kB / 1.024 GB, free: 2.32 MB / 0.6589 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000307/0.9519, allocations: 0.6841 MB / 1.025 GB, free: 1.609 MB / 0.6589 GB Notification: Performance of SimCode: time 1.763e-06/0.9519, allocations: 0 / 1.025 GB, free: 1.609 MB / 0.6589 GB Notification: Performance of Templates: time 0.002335/0.9542, allocations: 409.5 kB / 1.025 GB, free: 1.258 MB / 0.6589 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches