Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [: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.787/1.787, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001084/0.001084, allocations: 177.2 kB / 487 MB, free: 5.34 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.125/1.125, allocations: 221.3 MB / 0.7819 GB, free: 1.348 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.0008991/0.0008993, allocations: 92.64 kB / 0.9213 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.142e-06/6.162e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1745, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4908/0.6653, allocations: 149.1 MB / 1.351 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.6655, allocations: 80.88 kB / 1.351 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.006449/0.672, allocations: 2.394 MB / 1.353 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.672, allocations: 1.125 kB / 1.353 GB, free: 15.62 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002434/0.6723, allocations: 332.6 kB / 1.354 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.6723, allocations: 9.375 kB / 1.354 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.6724, allocations: 6.297 kB / 1.354 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.737e-05/0.6725, allocations: 172 kB / 1.354 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.6725, allocations: 4.125 kB / 1.354 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.6725, allocations: 1.625 kB / 1.354 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.204e-05/0.6726, allocations: 15.58 kB / 1.354 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.102e-05/0.6727, allocations: 60.91 kB / 1.354 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.321e-06/0.6727, allocations: 0.75 kB / 1.354 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.6727, allocations: 0 / 1.354 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.6727, allocations: 1.266 kB / 1.354 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002433/0.6729, allocations: 246.2 kB / 1.354 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.915e-05/0.673, allocations: 35.67 kB / 1.354 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.751e-05/0.6731, allocations: 15.72 kB / 1.354 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.713e-06/0.6731, allocations: 0 / 1.354 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.27e-05/0.6731, allocations: 66.41 kB / 1.354 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.6732, allocations: 0 / 1.354 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001322/0.6733, allocations: 52.03 kB / 1.354 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.6733, allocations: 109.5 kB / 1.354 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.621e-05/0.6734, allocations: 100.5 kB / 1.354 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.6734, allocations: 27.41 kB / 1.354 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.762e-05/0.6734, allocations: 81.78 kB / 1.355 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.454e-05/0.6734, allocations: 10.45 kB / 1.355 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.6734, allocations: 0 / 1.355 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.598e-05/0.6735, allocations: 321.1 kB / 1.355 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.085e-05/0.6735, allocations: 9.781 kB / 1.355 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.463e-05/0.6735, allocations: 29.3 kB / 1.355 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.511e-05/0.6736, allocations: 10.55 kB / 1.355 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.6736, allocations: 0 / 1.355 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.27e-05/0.6737, allocations: 63.98 kB / 1.355 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.6737, allocations: 8.656 kB / 1.355 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.6737, allocations: 0.8906 kB / 1.355 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.6737, allocations: 4.906 kB / 1.355 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.242e-05/0.6738, allocations: 6 kB / 1.355 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.6738, allocations: 3.734 kB / 1.355 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.6739, allocations: 10.78 kB / 1.355 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.6739, allocations: 1.328 kB / 1.355 GB, free: 13.92 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: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 4.583e-05/0.674, allocations: 108 kB / 1.355 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.674, allocations: 6.25 kB / 1.355 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.059e-05/0.674, allocations: 8.672 kB / 1.355 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.674, allocations: 5.062 kB / 1.355 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.674, allocations: 0 / 1.355 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.674, allocations: 5.672 kB / 1.355 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.62e-05/0.6741, allocations: 140.4 kB / 1.355 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.6741, allocations: 0.5625 kB / 1.355 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.342e-05/0.6741, allocations: 11.27 kB / 1.355 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.6741, allocations: 1.156 kB / 1.355 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.6742, allocations: 1.891 kB / 1.355 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.6742, allocations: 0 / 1.355 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.6742, allocations: 7.938 kB / 1.355 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.567e-05/0.6743, allocations: 83.86 kB / 1.355 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/0.6743, allocations: 87.8 kB / 1.355 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.6743, allocations: 0.8438 kB / 1.355 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.6744, allocations: 11.05 kB / 1.355 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.6745, allocations: 11.81 kB / 1.355 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.6745, allocations: 1.188 kB / 1.355 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.305e-05/0.6745, allocations: 86.03 kB / 1.356 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001852/0.6747, allocations: 10.66 kB / 1.356 GB, free: 13.38 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 8.73e-05/0.6748, allocations: 103 kB / 1.356 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.523e-05/0.6749, allocations: 28.95 kB / 1.356 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.6749, allocations: 0.8438 kB / 1.356 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.142e-05/0.6749, allocations: 13.45 kB / 1.356 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.989e-05/0.675, allocations: 7.469 kB / 1.356 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001761/0.6752, allocations: 79.06 kB / 1.356 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.6753, allocations: 0.6903 MB / 1.356 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of SimCode: time 2.2e-07/0.6753, allocations: 0.5938 kB / 1.356 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of Templates: time 0.002382/0.6777, allocations: 0.8015 MB / 1.357 GB, free: 12.46 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches