Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change") [: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 7.0.3-maint.7.0.x/package.mo): time 1.386/1.386, allocations: 249.4 MB / 256.7 MB, free: 7.031 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 185.2 kB / 316 MB, free: 3.527 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205.2 MB / 0.5667 GB, free: 15.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009922/0.0009922, allocations: 98.14 kB / 0.671 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.805e-06/7.825e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2687, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6682/0.937, allocations: 136 MB / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/0.9373, allocations: 81.2 kB / 1.017 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01846/0.9558, allocations: 6.451 MB / 1.024 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.722e-05/0.9559, allocations: 4 kB / 1.024 GB, free: 13.34 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007667/0.9566, allocations: 0.4915 MB / 1.024 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.9567, allocations: 8.031 kB / 1.024 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.999e-05/0.9568, allocations: 23.72 kB / 1.024 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004784/0.9573, allocations: 298 kB / 1.025 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.9573, allocations: 0 / 1.025 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.9573, allocations: 11.98 kB / 1.025 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001566/0.9575, allocations: 60.05 kB / 1.025 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.9577, allocations: 109.2 kB / 1.025 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.9577, allocations: 0 / 1.025 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.9577, allocations: 0 / 1.025 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.9577, allocations: 7.906 kB / 1.025 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007697/0.9585, allocations: 0.5103 MB / 1.025 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.9587, allocations: 107.4 kB / 1.025 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.084e-05/0.9588, allocations: 35.8 kB / 1.025 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.9588, allocations: 7.562 kB / 1.025 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.959, allocations: 100.6 kB / 1.025 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.959, allocations: 0 / 1.025 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0003106/0.9593, allocations: 141.4 kB / 1.026 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.9593, allocations: 58.03 kB / 1.026 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003027/0.9597, allocations: 282.7 kB / 1.026 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.9597, allocations: 32.89 kB / 1.026 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.889e-05/0.9598, allocations: 115.7 kB / 1.026 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.9598, allocations: 38.92 kB / 1.026 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/0.9598, allocations: 0 / 1.026 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.96, allocations: 345.4 kB / 1.026 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.9601, allocations: 71.8 kB / 1.027 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.9603, allocations: 129.9 kB / 1.027 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.9604, allocations: 84.95 kB / 1.027 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.9604, allocations: 0 / 1.027 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004184/0.9608, allocations: 254.9 kB / 1.027 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.9609, allocations: 4 kB / 1.027 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.9609, allocations: 7.984 kB / 1.027 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.9609, allocations: 0 / 1.027 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.9612, allocations: 59.03 kB / 1.027 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.9612, allocations: 11.92 kB / 1.027 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.9614, allocations: 27.77 kB / 1.027 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.508e-05/0.9614, allocations: 18.69 kB / 1.027 GB, free: 10.13 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.cha.y,$PRE.decreaseSampler.y,decreaseSampler.y,$PRE.increaseSampler.y,increaseSampler.y,$PRE.changeSampler.y,changeSampler.y,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition1,$PRE.cha.u,cha.u,cha.y,cha.up,cha.down,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,cha.u_start) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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 0.0001/0.9615, allocations: 113.4 kB / 1.027 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.9616, allocations: 35.55 kB / 1.027 GB, free: 9.988 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002882/0.9619, allocations: 147.3 kB / 1.027 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.9619, allocations: 0 / 1.027 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.9619, allocations: 4 kB / 1.027 GB, free: 9.871 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.9619, allocations: 7.891 kB / 1.027 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005722/0.9625, allocations: 489.7 kB / 1.028 GB, free: 9.406 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.9625, allocations: 0 / 1.028 GB, free: 9.406 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.9626, allocations: 19.98 kB / 1.028 GB, free: 9.387 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.9626, allocations: 0 / 1.028 GB, free: 9.387 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.9626, allocations: 6.188 kB / 1.028 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.9626, allocations: 0 / 1.028 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.9626, allocations: 4 kB / 1.028 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002557/0.9629, allocations: 243.2 kB / 1.028 GB, free: 9.156 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-05/0.963, allocations: 108.7 kB / 1.028 GB, free: 9.031 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.201e-05/0.963, allocations: 7.438 kB / 1.028 GB, free: 9.027 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.9632, allocations: 27.88 kB / 1.028 GB, free: 9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-05/0.9633, allocations: 11.48 kB / 1.028 GB, free: 8.992 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.9633, allocations: 7.984 kB / 1.028 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001681/0.9635, allocations: 193.9 kB / 1.028 GB, free: 8.828 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003688/0.9639, allocations: 55.17 kB / 1.029 GB, free: 8.777 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0006665/0.9645, allocations: 326.2 kB / 1.029 GB, free: 8.543 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002797/0.9648, allocations: 155.6 kB / 1.029 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.9648, allocations: 0 / 1.029 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.431e-05/0.9649, allocations: 56.69 kB / 1.029 GB, free: 8.391 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.9653, allocations: 35.62 kB / 1.029 GB, free: 8.363 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006114/0.9659, allocations: 305.4 kB / 1.029 GB, free: 8.082 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003988/0.9663, allocations: 0.7768 MB / 1.03 GB, free: 7.281 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/0.9663, allocations: 0 / 1.03 GB, free: 7.281 MB / 0.6511 GB Notification: Performance of Templates: time 0.005898/0.9722, allocations: 2.679 MB / 1.033 GB, free: 4.629 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches