Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.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.Controls.OBC.CDL.Continuous.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter") [: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.772/1.772, allocations: 387.2 MB / 394.5 MB, free: 4.562 MB / 306.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 181.2 kB / 487 MB, free: 11.07 MB / 402.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.12/1.12, allocations: 221.3 MB / 0.7819 GB, free: 4 MB / 0.5497 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008091/0.0008092, allocations: 84.7 kB / 0.9213 GB, free: 5.098 MB / 0.6903 GB Notification: Performance of FrontEnd - loaded program: time 7.895e-06/7.915e-06, allocations: 4 kB / 1.066 GB, free: 141.1 MB / 0.7216 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1746, allocations: 142.3 MB / 1.205 GB, free: 14.76 MB / 0.7372 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.519/0.6936, allocations: 148 MB / 1.35 GB, free: 4.129 MB / 0.8153 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001865/0.6939, allocations: 71.94 kB / 1.35 GB, free: 4.059 MB / 0.8153 GB Notification: Performance of FrontEnd: time 0.002018/0.6959, allocations: 495.7 kB / 1.35 GB, free: 3.582 MB / 0.8153 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.6959, allocations: 0 / 1.35 GB, free: 3.582 MB / 0.8153 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.0004489/0.6964, allocations: 346.4 kB / 1.351 GB, free: 3.199 MB / 0.8153 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.6965, allocations: 8.031 kB / 1.351 GB, free: 3.191 MB / 0.8153 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.342e-05/0.6965, allocations: 11.89 kB / 1.351 GB, free: 3.18 MB / 0.8153 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.6967, allocations: 167 kB / 1.351 GB, free: 2.977 MB / 0.8153 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.6967, allocations: 0 / 1.351 GB, free: 2.977 MB / 0.8153 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.6967, allocations: 4 kB / 1.351 GB, free: 2.973 MB / 0.8153 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.037e-05/0.6968, allocations: 15.91 kB / 1.351 GB, free: 2.957 MB / 0.8153 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.17e-05/0.6969, allocations: 37.69 kB / 1.351 GB, free: 2.914 MB / 0.8153 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.6969, allocations: 8 kB / 1.351 GB, free: 2.906 MB / 0.8153 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.6969, allocations: 0 / 1.351 GB, free: 2.906 MB / 0.8153 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.6969, allocations: 0 / 1.351 GB, free: 2.906 MB / 0.8153 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004433/0.6974, allocations: 261.4 kB / 1.351 GB, free: 2.613 MB / 0.8153 GB Notification: Performance of preOpt comSubExp (simulation): time 6.321e-05/0.6975, allocations: 33.67 kB / 1.351 GB, free: 2.574 MB / 0.8153 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.004e-05/0.6975, allocations: 12.92 kB / 1.351 GB, free: 2.559 MB / 0.8153 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.6975, allocations: 0 / 1.351 GB, free: 2.559 MB / 0.8153 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.6975, allocations: 34.56 kB / 1.351 GB, free: 2.516 MB / 0.8153 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.6975, allocations: 0 / 1.351 GB, free: 2.516 MB / 0.8153 GB Notification: Performance of matching and sorting (n=2): time 0.0001563/0.6977, allocations: 41.69 kB / 1.351 GB, free: 2.469 MB / 0.8153 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.6977, allocations: 59.44 kB / 1.351 GB, free: 2.398 MB / 0.8153 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.085e-05/0.6978, allocations: 93.88 kB / 1.351 GB, free: 2.301 MB / 0.8153 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.6978, allocations: 25.7 kB / 1.351 GB, free: 2.27 MB / 0.8153 GB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/0.6979, allocations: 88.12 kB / 1.352 GB, free: 2.18 MB / 0.8153 GB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.6979, allocations: 7.906 kB / 1.352 GB, free: 2.172 MB / 0.8153 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.6979, allocations: 0 / 1.352 GB, free: 2.172 MB / 0.8153 GB Notification: Performance of setup shared object (initialization): time 8.157e-05/0.698, allocations: 314.8 kB / 1.352 GB, free: 1.855 MB / 0.8153 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.08e-05/0.698, allocations: 13.58 kB / 1.352 GB, free: 1.844 MB / 0.8153 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.283e-05/0.698, allocations: 21.72 kB / 1.352 GB, free: 1.816 MB / 0.8153 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.923e-05/0.6981, allocations: 4 kB / 1.352 GB, free: 1.812 MB / 0.8153 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.6981, allocations: 0 / 1.352 GB, free: 1.812 MB / 0.8153 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.13e-05/0.6982, allocations: 54.44 kB / 1.352 GB, free: 1.754 MB / 0.8153 GB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/0.6982, allocations: 89 kB / 1.352 GB, free: 1.66 MB / 0.8153 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.6982, allocations: 128 / 1.352 GB, free: 1.66 MB / 0.8153 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.6982, allocations: 7.906 kB / 1.352 GB, free: 1.652 MB / 0.8153 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.6984, allocations: 19.98 kB / 1.352 GB, free: 1.633 MB / 0.8153 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.6984, allocations: 3.984 kB / 1.352 GB, free: 1.629 MB / 0.8153 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.752e-05/0.6985, allocations: 23.92 kB / 1.352 GB, free: 1.605 MB / 0.8153 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.6985, allocations: 4.5 kB / 1.352 GB, free: 1.602 MB / 0.8153 GB Notification: Performance of prepare postOptimizeDAE: time 5.932e-06/0.6985, allocations: 7.938 kB / 1.352 GB, free: 1.594 MB / 0.8153 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 3.56e-05/0.6985, allocations: 11.94 kB / 1.352 GB, free: 1.582 MB / 0.8153 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-06/0.6985, allocations: 0 / 1.352 GB, free: 1.582 MB / 0.8153 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.939e-06/0.6986, allocations: 9.188 kB / 1.352 GB, free: 1.574 MB / 0.8153 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.177e-05/0.6986, allocations: 16.27 kB / 1.352 GB, free: 1.559 MB / 0.8153 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-06/0.6986, allocations: 0 / 1.352 GB, free: 1.559 MB / 0.8153 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.81e-05/0.6987, allocations: 15.98 kB / 1.352 GB, free: 1.543 MB / 0.8153 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-06/0.6987, allocations: 0 / 1.352 GB, free: 1.543 MB / 0.8153 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 5.903e-05/0.6988, allocations: 112.9 kB / 1.352 GB, free: 1.426 MB / 0.8153 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.6988, allocations: 0 / 1.352 GB, free: 1.426 MB / 0.8153 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.5e-05/0.6988, allocations: 7.625 kB / 1.352 GB, free: 1.422 MB / 0.8153 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.6988, allocations: 4 kB / 1.352 GB, free: 1.418 MB / 0.8153 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.6989, allocations: 0 / 1.352 GB, free: 1.418 MB / 0.8153 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.6989, allocations: 3.906 kB / 1.352 GB, free: 1.414 MB / 0.8153 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.699, allocations: 146.1 kB / 1.352 GB, free: 1.234 MB / 0.8153 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.699, allocations: 0 / 1.352 GB, free: 1.234 MB / 0.8153 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.6991, allocations: 23.98 kB / 1.352 GB, free: 1.211 MB / 0.8153 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.6992, allocations: 0 / 1.352 GB, free: 1.211 MB / 0.8153 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.6992, allocations: 0 / 1.352 GB, free: 1.211 MB / 0.8153 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.6992, allocations: 3.984 kB / 1.352 GB, free: 1.207 MB / 0.8153 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6992, allocations: 0 / 1.352 GB, free: 1.207 MB / 0.8153 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001073/0.6993, allocations: 143.4 kB / 1.353 GB, free: 1.051 MB / 0.8153 GB Notification: Performance of postOpt removeConstants (simulation): time 3.057e-05/0.6993, allocations: 81.11 kB / 1.353 GB, free: 0.9531 MB / 0.8153 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.6993, allocations: 7.891 kB / 1.353 GB, free: 0.9453 MB / 0.8153 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.6995, allocations: 19.98 kB / 1.353 GB, free: 0.9258 MB / 0.8153 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.6995, allocations: 0 / 1.353 GB, free: 0.9258 MB / 0.8153 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.6995, allocations: 0 / 1.353 GB, free: 0.9258 MB / 0.8153 GB Notification: Performance of sort global known variables: time 2.912e-05/0.6995, allocations: 83.31 kB / 1.353 GB, free: 0.8438 MB / 0.8153 GB Notification: Performance of remove unused functions: time 0.0002482/0.6998, allocations: 8 kB / 1.353 GB, free: 0.8359 MB / 0.8153 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 0.0001321/0.6999, allocations: 103.2 kB / 1.353 GB, free: 0.7266 MB / 0.8153 GB Notification: Performance of simCode: created initialization part: time 9.988e-05/0.7, allocations: 27.94 kB / 1.353 GB, free: 0.6992 MB / 0.8153 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.7001, allocations: 0 / 1.353 GB, free: 0.6992 MB / 0.8153 GB Notification: Performance of simCode: created simulation system equations: time 2.448e-05/0.7001, allocations: 12 kB / 1.353 GB, free: 0.6875 MB / 0.8153 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.7002, allocations: 1.5 kB / 1.353 GB, free: 0.6875 MB / 0.8153 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002441/0.7005, allocations: 83.91 kB / 1.353 GB, free: 0.582 MB / 0.8153 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/0.7008, allocations: 0.688 MB / 1.354 GB, free: 15.86 MB / 0.8309 GB Notification: Performance of SimCode: time 2.31e-07/0.7008, allocations: 4 kB / 1.354 GB, free: 15.86 MB / 0.8309 GB Notification: Performance of Templates: time 0.002155/0.7029, allocations: 0.6136 MB / 1.354 GB, free: 15.25 MB / 0.8309 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches