Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [: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.781/1.781, allocations: 387.2 MB / 394.5 MB, free: 13.6 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.0009426/0.0009426, allocations: 173.3 kB / 487 MB, free: 5.352 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.132/1.132, allocations: 221.3 MB / 0.7819 GB, free: 1.355 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.0008035/0.0008035, allocations: 91.84 kB / 0.9213 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.404e-06/7.414e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1927, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5117/0.7045, allocations: 148.8 MB / 1.35 GB, free: 16.15 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001993/0.7047, allocations: 85.56 kB / 1.351 GB, free: 16.15 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.001532/0.7063, allocations: 441.4 kB / 1.351 GB, free: 16.13 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.7063, allocations: 1.688 kB / 1.351 GB, free: 16.13 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0001529/0.7065, allocations: 311.7 kB / 1.351 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.7065, allocations: 10.83 kB / 1.351 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.321e-05/0.7065, allocations: 5.375 kB / 1.351 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.921e-05/0.7066, allocations: 170.1 kB / 1.351 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-06/0.7066, allocations: 1.531 kB / 1.351 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.403e-06/0.7067, allocations: 1.094 kB / 1.351 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.38e-05/0.7067, allocations: 6.969 kB / 1.351 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.219e-05/0.7067, allocations: 33.5 kB / 1.352 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.56e-06/0.7068, allocations: 0 / 1.352 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.7068, allocations: 0 / 1.352 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.7068, allocations: 5.031 kB / 1.352 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001848/0.707, allocations: 224.4 kB / 1.352 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.688e-05/0.707, allocations: 25.2 kB / 1.352 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.265e-05/0.707, allocations: 10.34 kB / 1.352 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.7071, allocations: 1.406 kB / 1.352 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.26e-05/0.7071, allocations: 40.38 kB / 1.352 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.7071, allocations: 1.375 kB / 1.352 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001016/0.7072, allocations: 36.89 kB / 1.352 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.429e-05/0.7072, allocations: 56.72 kB / 1.352 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.595e-05/0.7073, allocations: 95.88 kB / 1.352 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.611e-06/0.7073, allocations: 27.11 kB / 1.352 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.375e-05/0.7073, allocations: 80.14 kB / 1.352 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.236e-05/0.7073, allocations: 8.562 kB / 1.352 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-06/0.7073, allocations: 7.938 kB / 1.352 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.438e-05/0.7074, allocations: 313.9 kB / 1.352 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-06/0.7074, allocations: 1.438 kB / 1.352 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.622e-06/0.7074, allocations: 5.188 kB / 1.352 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.144e-05/0.7074, allocations: 2.406 kB / 1.352 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.7074, allocations: 1.219 kB / 1.352 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.44e-05/0.7074, allocations: 40.39 kB / 1.352 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/0.7075, allocations: 4.5 kB / 1.352 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.7075, allocations: 5.281 kB / 1.352 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.7075, allocations: 0 / 1.352 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.141e-05/0.7075, allocations: 3.188 kB / 1.352 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.7075, allocations: 1.453 kB / 1.352 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.535e-05/0.7076, allocations: 1.094 kB / 1.352 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-06/0.7076, allocations: 0 / 1.352 GB, free: 14.57 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 3.16e-05/0.7076, allocations: 106.2 kB / 1.353 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.7076, allocations: 8.844 kB / 1.353 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.741e-05/0.7076, allocations: 5.938 kB / 1.353 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.7077, allocations: 4 kB / 1.353 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.7077, allocations: 0 / 1.353 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.7077, allocations: 1.312 kB / 1.353 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.789e-05/0.7078, allocations: 130.3 kB / 1.353 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7078, allocations: 1.281 kB / 1.353 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.574e-05/0.7078, allocations: 2.562 kB / 1.353 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.7078, allocations: 3.906 kB / 1.353 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-06/0.7078, allocations: 0 / 1.353 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.7078, allocations: 2.297 kB / 1.353 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7078, allocations: 0 / 1.353 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.59e-05/0.7079, allocations: 139.1 kB / 1.353 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.433e-05/0.7079, allocations: 82.42 kB / 1.353 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-06/0.7079, allocations: 1.031 kB / 1.353 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.325e-05/0.7079, allocations: 192 / 1.353 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.386e-06/0.708, allocations: 2.312 kB / 1.353 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.708, allocations: 8.797 kB / 1.353 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.697e-05/0.708, allocations: 83.47 kB / 1.353 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001859/0.7082, allocations: 7.438 kB / 1.353 GB, free: 13.97 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 8.231e-05/0.7083, allocations: 101.6 kB / 1.353 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.299e-05/0.7083, allocations: 9.844 kB / 1.353 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7083, allocations: 1.219 kB / 1.353 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.494e-06/0.7083, allocations: 4.516 kB / 1.353 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001169/0.7085, allocations: 10.03 kB / 1.353 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001392/0.7086, allocations: 61.7 kB / 1.353 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.7087, allocations: 0.6893 MB / 1.354 GB, free: 29.1 MB / 0.823 GB Notification: Performance of SimCode: time 2.21e-07/0.7088, allocations: 0 / 1.354 GB, free: 29.1 MB / 0.823 GB Notification: Performance of Templates: time 0.001445/0.7102, allocations: 222.1 kB / 1.354 GB, free: 29.06 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches