Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.794/1.794, 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.0009556/0.0009555, allocations: 181.3 kB / 487 MB, free: 5.371 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.124/1.124, allocations: 221.3 MB / 0.7819 GB, free: 1.41 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.0007927/0.0007927, allocations: 103.7 kB / 0.9213 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.522e-06/6.542e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1857, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4905/0.6762, allocations: 149 MB / 1.351 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001945/0.6764, allocations: 77.53 kB / 1.351 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.006296/0.6827, allocations: 2.385 MB / 1.353 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.6827, allocations: 0 / 1.353 GB, free: 15.74 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.0002313/0.683, allocations: 334.4 kB / 1.353 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.683, allocations: 9.125 kB / 1.353 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.683, allocations: 9.844 kB / 1.354 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.29e-05/0.6831, allocations: 167.6 kB / 1.354 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.6831, allocations: 1.5 kB / 1.354 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.6832, allocations: 2.719 kB / 1.354 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.047e-05/0.6832, allocations: 15.25 kB / 1.354 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.044e-05/0.6833, allocations: 64.88 kB / 1.354 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.6833, allocations: 0 / 1.354 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.6833, allocations: 2.188 kB / 1.354 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.6833, allocations: 4.781 kB / 1.354 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002343/0.6836, allocations: 242.8 kB / 1.354 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.884e-05/0.6837, allocations: 34.45 kB / 1.354 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.678e-05/0.6837, allocations: 15.72 kB / 1.354 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.6837, allocations: 1 kB / 1.354 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.839e-05/0.6838, allocations: 64.03 kB / 1.354 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 9.81e-07/0.6838, allocations: 0 / 1.354 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001272/0.6839, allocations: 52.5 kB / 1.354 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.6839, allocations: 103.6 kB / 1.354 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.236e-05/0.684, allocations: 107.4 kB / 1.354 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.684, allocations: 26.42 kB / 1.354 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.981e-05/0.684, allocations: 83.05 kB / 1.354 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.6841, allocations: 9.281 kB / 1.354 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.6841, allocations: 4.75 kB / 1.354 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.404e-05/0.6841, allocations: 318.6 kB / 1.355 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.085e-05/0.6841, allocations: 8.75 kB / 1.355 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.478e-05/0.6842, allocations: 32.67 kB / 1.355 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.512e-05/0.6842, allocations: 10.69 kB / 1.355 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.6842, allocations: 0 / 1.355 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.087e-05/0.6843, allocations: 57.34 kB / 1.355 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.6843, allocations: 6.578 kB / 1.355 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.6843, allocations: 4.031 kB / 1.355 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.736e-06/0.6843, allocations: 4.938 kB / 1.355 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.098e-05/0.6844, allocations: 6.859 kB / 1.355 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.6844, allocations: 1.359 kB / 1.355 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.6845, allocations: 9.984 kB / 1.355 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.6845, allocations: 1.688 kB / 1.355 GB, free: 14.04 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.675e-05/0.6846, allocations: 116.3 kB / 1.355 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.338e-05/0.6846, allocations: 2.688 kB / 1.355 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.971e-05/0.6846, allocations: 8.531 kB / 1.355 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.6846, allocations: 1.078 kB / 1.355 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.6846, allocations: 1.031 kB / 1.355 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.6846, allocations: 3.906 kB / 1.355 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.274e-05/0.6847, allocations: 142.2 kB / 1.355 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.6847, allocations: 4.984 kB / 1.355 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.149e-05/0.6847, allocations: 2 kB / 1.355 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.6847, allocations: 0.9688 kB / 1.355 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.6848, allocations: 6.766 kB / 1.355 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.6848, allocations: 0 / 1.355 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.6848, allocations: 4.984 kB / 1.355 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.067e-05/0.6849, allocations: 86.11 kB / 1.355 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/0.6849, allocations: 87.69 kB / 1.355 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.6849, allocations: 1.906 kB / 1.355 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.685, allocations: 14.41 kB / 1.355 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-05/0.6851, allocations: 3.875 kB / 1.355 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.6851, allocations: 2.453 kB / 1.355 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.321e-05/0.6851, allocations: 93.3 kB / 1.355 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001803/0.6853, allocations: 9.828 kB / 1.355 GB, free: 13.49 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 9.389e-05/0.6854, allocations: 101.9 kB / 1.356 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.478e-05/0.6855, allocations: 28.19 kB / 1.356 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6855, allocations: 4.812 kB / 1.356 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.23e-05/0.6855, allocations: 13.73 kB / 1.356 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.188e-05/0.6856, allocations: 3.547 kB / 1.356 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001832/0.6858, allocations: 83.27 kB / 1.356 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.6859, allocations: 0.6911 MB / 1.356 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of SimCode: time 2.31e-07/0.6859, allocations: 0 / 1.356 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of Templates: time 0.002424/0.6884, allocations: 0.7933 MB / 1.357 GB, free: 12.54 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches