Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") [: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.379/1.379, allocations: 249.4 MB / 256.7 MB, free: 6.988 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.00107/0.00107, allocations: 172.3 kB / 316 MB, free: 3.578 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.359/1.359, allocations: 205.1 MB / 0.5667 GB, free: 15.64 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.0009704/0.0009702, allocations: 76.05 kB / 0.671 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.915e-06/7.935e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2052, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5655/0.7707, allocations: 132.5 MB / 1.014 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.771, allocations: 74.08 kB / 1.014 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.007363/0.7784, allocations: 2.368 MB / 1.016 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.7785, allocations: 0 / 1.016 GB, free: 4.531 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003363/0.7788, allocations: 337.2 kB / 1.017 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.7788, allocations: 8.031 kB / 1.017 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.7789, allocations: 11.38 kB / 1.017 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.779, allocations: 167 kB / 1.017 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.7791, allocations: 4 kB / 1.017 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.7791, allocations: 3.938 kB / 1.017 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.003e-05/0.7792, allocations: 11.62 kB / 1.017 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.7793, allocations: 63.19 kB / 1.017 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.7793, allocations: 11.98 kB / 1.017 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.7793, allocations: 0 / 1.017 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.7793, allocations: 0 / 1.017 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/0.7797, allocations: 239.9 kB / 1.017 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.003e-05/0.7798, allocations: 37.81 kB / 1.017 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.536e-05/0.7798, allocations: 12.73 kB / 1.017 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.7798, allocations: 4 kB / 1.017 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.809e-05/0.7799, allocations: 54.5 kB / 1.017 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.7799, allocations: 0 / 1.017 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001658/0.7801, allocations: 56.84 kB / 1.017 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.7802, allocations: 106.8 kB / 1.017 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.749e-05/0.7802, allocations: 100.2 kB / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.7803, allocations: 25.7 kB / 1.018 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.7803, allocations: 91.45 kB / 1.018 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.7803, allocations: 11.75 kB / 1.018 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.7804, allocations: 0 / 1.018 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.7805, allocations: 318 kB / 1.018 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.217e-05/0.7805, allocations: 11.56 kB / 1.018 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.717e-05/0.7805, allocations: 26.52 kB / 1.018 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.575e-05/0.7806, allocations: 7.938 kB / 1.018 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.7806, allocations: 4.031 kB / 1.018 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.616e-05/0.7807, allocations: 60.81 kB / 1.018 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/0.7807, allocations: 4 kB / 1.018 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.7807, allocations: 0 / 1.018 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.7807, allocations: 3.906 kB / 1.018 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.323e-05/0.7808, allocations: 7.984 kB / 1.018 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.7808, allocations: 4 kB / 1.018 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.7809, allocations: 8 kB / 1.018 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.781, allocations: 11.92 kB / 1.018 GB, free: 2.586 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: 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 7.135e-05/0.781, allocations: 101 kB / 1.018 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.7811, allocations: 7.906 kB / 1.018 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/0.7811, allocations: 7 kB / 1.018 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.7811, allocations: 3.938 kB / 1.018 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.7811, allocations: 4 kB / 1.018 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.7811, allocations: 0 / 1.018 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.7812, allocations: 141.5 kB / 1.018 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.7812, allocations: 7.891 kB / 1.018 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.534e-05/0.7813, allocations: 11.88 kB / 1.018 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.7813, allocations: 0 / 1.018 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.7813, allocations: 0 / 1.018 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.7813, allocations: 3.938 kB / 1.018 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7813, allocations: 4 kB / 1.018 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001095/0.7814, allocations: 77.02 kB / 1.018 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-05/0.7815, allocations: 85.09 kB / 1.019 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.7815, allocations: 0 / 1.019 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.7816, allocations: 23.11 kB / 1.019 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.7817, allocations: 3.984 kB / 1.019 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.7817, allocations: 7.906 kB / 1.019 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.455e-05/0.7817, allocations: 82.66 kB / 1.019 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001889/0.7819, allocations: 8 kB / 1.019 GB, free: 1.961 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: 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.0001483/0.7821, allocations: 103.3 kB / 1.019 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.7822, allocations: 39.36 kB / 1.019 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.7822, allocations: 0 / 1.019 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.394e-05/0.7822, allocations: 11.19 kB / 1.019 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001127/0.7824, allocations: 3.438 kB / 1.019 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002307/0.7826, allocations: 63.42 kB / 1.019 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002607/0.7829, allocations: 0.6954 MB / 1.02 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of SimCode: time 2.6e-07/0.7829, allocations: 0 / 1.02 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of Templates: time 0.002812/0.7857, allocations: 0.7979 MB / 1.02 GB, free: 244 kB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches