Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [: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.854/1.854, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.00103/0.00103, allocations: 185.2 kB / 487 MB, free: 5.344 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.148/1.148, allocations: 221.3 MB / 0.7819 GB, free: 1.391 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.0008756/0.0008754, allocations: 80.77 kB / 0.9213 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.682e-06/6.702e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1955, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5105/0.7061, allocations: 152.1 MB / 1.354 GB, free: 16.11 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.7064, allocations: 84.86 kB / 1.354 GB, free: 16.11 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02347/0.7299, allocations: 9.222 MB / 1.363 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.7299, allocations: 8 kB / 1.363 GB, free: 14.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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0004576/0.7304, allocations: 0.4952 MB / 1.363 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.7304, allocations: 9.031 kB / 1.363 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.761e-05/0.7305, allocations: 31.62 kB / 1.363 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.7307, allocations: 266.3 kB / 1.364 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.7307, allocations: 4 kB / 1.364 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.7308, allocations: 8 kB / 1.364 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006363/0.7314, allocations: 0.7273 MB / 1.364 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.7316, allocations: 189.8 kB / 1.365 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.7317, allocations: 0 / 1.365 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.7317, allocations: 4 kB / 1.365 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.7317, allocations: 4 kB / 1.365 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005953/0.7323, allocations: 0.5311 MB / 1.365 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003237/0.7326, allocations: 274.8 kB / 1.365 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.7327, allocations: 99.27 kB / 1.365 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.035e-05/0.7328, allocations: 21.59 kB / 1.365 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/0.7329, allocations: 158.5 kB / 1.366 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=34): time 1.362e-06/0.733, allocations: 0 / 1.366 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of matching and sorting (n=34): time 0.0003749/0.7333, allocations: 257.8 kB / 1.366 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.7334, allocations: 139.8 kB / 1.366 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.7336, allocations: 257.4 kB / 1.366 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.7336, allocations: 29.7 kB / 1.366 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.76e-05/0.7336, allocations: 99.2 kB / 1.366 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.501e-05/0.7337, allocations: 108.1 kB / 1.366 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/0.7337, allocations: 3.938 kB / 1.366 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.977e-05/0.7338, allocations: 341.3 kB / 1.367 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.212e-05/0.7339, allocations: 69.17 kB / 1.367 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.734, allocations: 114.8 kB / 1.367 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.7341, allocations: 109.3 kB / 1.367 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7341, allocations: 0 / 1.367 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003055/0.7344, allocations: 256.8 kB / 1.367 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.7344, allocations: 8 kB / 1.367 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.7345, allocations: 0 / 1.367 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.7345, allocations: 0 / 1.367 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.7347, allocations: 66.14 kB / 1.367 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.7347, allocations: 0 / 1.367 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.7348, allocations: 27.75 kB / 1.367 GB, free: 9.891 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.7348, allocations: 14.86 kB / 1.367 GB, free: 9.879 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 (35): * Single equations (assignments): 35 * 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 6.215e-05/0.7349, allocations: 108.9 kB / 1.367 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.735, allocations: 27.62 kB / 1.368 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005371/0.7355, allocations: 375.8 kB / 1.368 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.7355, allocations: 4 kB / 1.368 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.7355, allocations: 0 / 1.368 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.7355, allocations: 4 kB / 1.368 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.7357, allocations: 295.4 kB / 1.368 GB, free: 9.148 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.7357, allocations: 3.984 kB / 1.368 GB, free: 9.145 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.7359, allocations: 59.48 kB / 1.368 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.7359, allocations: 0 / 1.368 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.7359, allocations: 7.984 kB / 1.368 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.7359, allocations: 0 / 1.368 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.7359, allocations: 4 kB / 1.368 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003052/0.7362, allocations: 304 kB / 1.369 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.7364, allocations: 152.2 kB / 1.369 GB, free: 8.668 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/0.7364, allocations: 4 kB / 1.369 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.7365, allocations: 15.92 kB / 1.369 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.7366, allocations: 15.97 kB / 1.369 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.7366, allocations: 15.8 kB / 1.369 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001247/0.7367, allocations: 212.7 kB / 1.369 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002583/0.737, allocations: 67.78 kB / 1.369 GB, free: 8.398 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 (34): * Single equations (assignments): 33 * 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.000528/0.7375, allocations: 324.3 kB / 1.369 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002624/0.7378, allocations: 214.1 kB / 1.369 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.7378, allocations: 0 / 1.369 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.738, allocations: 124.3 kB / 1.37 GB, free: 7.918 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.7381, allocations: 23.59 kB / 1.37 GB, free: 7.898 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005408/0.7387, allocations: 394.5 kB / 1.37 GB, free: 7.543 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003588/0.7391, allocations: 0.8111 MB / 1.371 GB, free: 22.71 MB / 0.823 GB Notification: Performance of SimCode: time 2.7e-07/0.7391, allocations: 4 kB / 1.371 GB, free: 22.71 MB / 0.823 GB Notification: Performance of Templates: time 0.005503/0.7446, allocations: 3.527 MB / 1.374 GB, free: 19.22 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches