Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.738/1.738, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.0008778/0.0008779, allocations: 188.1 kB / 490.8 MB, free: 1.938 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.071/1.071, allocations: 221.3 MB / 0.7863 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008117/0.0008118, allocations: 95.23 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.6e-06/5.63e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1666, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.45/0.6166, allocations: 152.9 MB / 1.361 GB, free: 17.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001937/0.6169, allocations: 81.83 kB / 1.361 GB, free: 17.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02119/0.6381, allocations: 9.23 MB / 1.37 GB, free: 16.77 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.6381, allocations: 4.406 kB / 1.37 GB, free: 16.77 MB / 0.823 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.0004574/0.6385, allocations: 0.4981 MB / 1.37 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/0.6386, allocations: 9 kB / 1.37 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.962e-05/0.6386, allocations: 29.31 kB / 1.37 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.6389, allocations: 268 kB / 1.371 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.6389, allocations: 8.875 kB / 1.371 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.639, allocations: 8.938 kB / 1.371 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008435/0.6398, allocations: 0.7203 MB / 1.371 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.6401, allocations: 196.8 kB / 1.372 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.6401, allocations: 0.8438 kB / 1.372 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.6401, allocations: 1.125 kB / 1.372 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.6401, allocations: 3.469 kB / 1.372 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000674/0.6408, allocations: 0.527 MB / 1.372 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.6412, allocations: 277.6 kB / 1.372 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.6413, allocations: 100 kB / 1.373 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.068e-05/0.6413, allocations: 15.69 kB / 1.373 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.6415, allocations: 164.2 kB / 1.373 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=34): time 1.402e-06/0.6415, allocations: 0 / 1.373 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34): time 0.0003976/0.6419, allocations: 254.7 kB / 1.373 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.642, allocations: 137 kB / 1.373 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.6422, allocations: 252.6 kB / 1.373 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.6422, allocations: 27.44 kB / 1.373 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.6423, allocations: 101.6 kB / 1.373 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/0.6424, allocations: 109.5 kB / 1.374 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.789e-06/0.6424, allocations: 0 / 1.374 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.205e-05/0.6425, allocations: 340.2 kB / 1.374 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.6426, allocations: 71.3 kB / 1.374 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.6427, allocations: 131.4 kB / 1.374 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.6429, allocations: 97.67 kB / 1.374 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6429, allocations: 0 / 1.374 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003514/0.6432, allocations: 253.9 kB / 1.374 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.948e-06/0.6433, allocations: 7.781 kB / 1.374 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.6433, allocations: 0 / 1.374 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.6433, allocations: 1.875 kB / 1.374 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.6435, allocations: 63.53 kB / 1.374 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.6435, allocations: 5.672 kB / 1.374 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.6437, allocations: 24.14 kB / 1.374 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.6437, allocations: 10.77 kB / 1.375 GB, free: 30.74 MB / 0.8386 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 7.628e-05/0.6438, allocations: 115.8 kB / 1.375 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/0.6438, allocations: 26.67 kB / 1.375 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006083/0.6444, allocations: 380.9 kB / 1.375 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.6444, allocations: 3.688 kB / 1.375 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.6445, allocations: 0 / 1.375 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.6445, allocations: 3.266 kB / 1.375 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.6447, allocations: 300.7 kB / 1.375 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6447, allocations: 5.312 kB / 1.375 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/0.6449, allocations: 51.97 kB / 1.375 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.6449, allocations: 5.031 kB / 1.375 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.6449, allocations: 14.05 kB / 1.375 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.6449, allocations: 1.062 kB / 1.375 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6449, allocations: 9.047 kB / 1.375 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003451/0.6453, allocations: 303.9 kB / 1.376 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.6454, allocations: 152.7 kB / 1.376 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.394e-05/0.6454, allocations: 3.125 kB / 1.376 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.6456, allocations: 9.734 kB / 1.376 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.6456, allocations: 22.66 kB / 1.376 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.6457, allocations: 18.58 kB / 1.376 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001603/0.6458, allocations: 210.2 kB / 1.376 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002662/0.6461, allocations: 61.02 kB / 1.376 GB, free: 30.05 MB / 0.8386 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.0005187/0.6466, allocations: 316 kB / 1.376 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002953/0.6469, allocations: 215.7 kB / 1.377 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.6469, allocations: 5 kB / 1.377 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.6471, allocations: 122 kB / 1.377 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/0.6473, allocations: 19.77 kB / 1.377 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005989/0.6479, allocations: 396.6 kB / 1.377 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003602/0.6482, allocations: 0.8118 MB / 1.378 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/0.6483, allocations: 3.938 kB / 1.378 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of Templates: time 0.006529/0.6548, allocations: 3.517 MB / 1.381 GB, free: 28.67 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches