Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") [: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.829/1.829, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.0009505/0.0009505, allocations: 180.8 kB / 487 MB, free: 5.312 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.134/1.134, 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.0009084/0.0009084, allocations: 94.56 kB / 0.9213 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.312e-06/6.342e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1819, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4813/0.6632, allocations: 149.1 MB / 1.351 GB, free: 16.1 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/0.6634, allocations: 79.28 kB / 1.351 GB, free: 16.1 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.006634/0.6701, allocations: 2.391 MB / 1.353 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.6701, allocations: 0.7812 kB / 1.353 GB, free: 15.96 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.0002396/0.6704, allocations: 337.1 kB / 1.354 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.6704, allocations: 9.203 kB / 1.354 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.6705, allocations: 8.719 kB / 1.354 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.817e-05/0.6705, allocations: 167.1 kB / 1.354 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.6706, allocations: 1.562 kB / 1.354 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.6706, allocations: 1 kB / 1.354 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.54e-05/0.6706, allocations: 19.77 kB / 1.354 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.65e-05/0.6707, allocations: 64.5 kB / 1.354 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.6708, allocations: 0 / 1.354 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.6708, allocations: 0.9688 kB / 1.354 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.6708, allocations: 0 / 1.354 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002498/0.671, allocations: 242.7 kB / 1.354 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.243e-05/0.6711, allocations: 40.61 kB / 1.354 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.85e-05/0.6712, allocations: 15.25 kB / 1.354 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.6712, allocations: 4.594 kB / 1.354 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.392e-05/0.6712, allocations: 53.14 kB / 1.354 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.6712, allocations: 0 / 1.354 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001401/0.6714, allocations: 55.56 kB / 1.354 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.6714, allocations: 104.1 kB / 1.354 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.463e-05/0.6715, allocations: 104.7 kB / 1.354 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.6715, allocations: 29.52 kB / 1.354 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.03e-05/0.6715, allocations: 82.88 kB / 1.355 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.6715, allocations: 14.14 kB / 1.355 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.6716, allocations: 0 / 1.355 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.801e-05/0.6716, allocations: 316.1 kB / 1.355 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.047e-05/0.6716, allocations: 9.453 kB / 1.355 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.626e-05/0.6717, allocations: 38.44 kB / 1.355 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.5e-05/0.6717, allocations: 8.797 kB / 1.355 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.6717, allocations: 0 / 1.355 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001193/0.6718, allocations: 61.45 kB / 1.355 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.6718, allocations: 5.781 kB / 1.355 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.6719, allocations: 0 / 1.355 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.6719, allocations: 0.7969 kB / 1.355 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.462e-05/0.6719, allocations: 6.453 kB / 1.355 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.672, allocations: 1.797 kB / 1.355 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.6721, allocations: 14.48 kB / 1.355 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.6721, allocations: 0.6562 kB / 1.355 GB, free: 14.25 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.74e-05/0.6721, allocations: 108.7 kB / 1.355 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.6722, allocations: 6.203 kB / 1.355 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.243e-05/0.6722, allocations: 8.719 kB / 1.355 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.6722, allocations: 0.7188 kB / 1.355 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.6722, allocations: 0 / 1.355 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.6722, allocations: 9.672 kB / 1.355 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.905e-05/0.6723, allocations: 147.1 kB / 1.355 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6723, allocations: 0.7188 kB / 1.355 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.375e-05/0.6723, allocations: 7.172 kB / 1.355 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.6723, allocations: 1.828 kB / 1.355 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.6723, allocations: 0.5625 kB / 1.355 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.6723, allocations: 1.094 kB / 1.355 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6723, allocations: 7.875 kB / 1.355 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.73e-05/0.6724, allocations: 82.64 kB / 1.355 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/0.6725, allocations: 91.08 kB / 1.355 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.6725, allocations: 2.422 kB / 1.355 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.6726, allocations: 9.781 kB / 1.355 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.6726, allocations: 3.984 kB / 1.355 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.6727, allocations: 1.984 kB / 1.355 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.466e-05/0.6727, allocations: 85.67 kB / 1.356 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001816/0.6729, allocations: 14.41 kB / 1.356 GB, free: 13.71 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 0.0001031/0.673, allocations: 103.2 kB / 1.356 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.546e-05/0.6731, allocations: 29.97 kB / 1.356 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6731, allocations: 0 / 1.356 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.305e-05/0.6731, allocations: 13.27 kB / 1.356 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.939e-05/0.6732, allocations: 9.672 kB / 1.356 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001831/0.6734, allocations: 72.56 kB / 1.356 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.6735, allocations: 0.6984 MB / 1.356 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of SimCode: time 2.3e-07/0.6735, allocations: 0 / 1.356 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of Templates: time 0.002451/0.676, allocations: 0.7855 MB / 1.357 GB, free: 12.8 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches