Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.776/1.776, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.0009923/0.0009923, allocations: 181.3 kB / 487 MB, free: 5.348 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.13/1.13, allocations: 221.3 MB / 0.7819 GB, free: 1.332 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.0008194/0.0008194, allocations: 94.38 kB / 0.9213 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.823e-06/6.843e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1862, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5286/0.7148, allocations: 152.9 MB / 1.355 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001794/0.715, allocations: 75.95 kB / 1.355 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01737/0.7324, allocations: 6.799 MB / 1.361 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.7324, allocations: 8.156 kB / 1.361 GB, free: 14.42 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005221/0.7329, allocations: 0.4894 MB / 1.362 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.793e-05/0.733, allocations: 8.031 kB / 1.362 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.461e-05/0.733, allocations: 28.19 kB / 1.362 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.7334, allocations: 296.6 kB / 1.362 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.7334, allocations: 8.703 kB / 1.362 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.7335, allocations: 8.562 kB / 1.362 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001207/0.7336, allocations: 62.05 kB / 1.362 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.7337, allocations: 89.78 kB / 1.362 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.7337, allocations: 0 / 1.362 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.7338, allocations: 3.859 kB / 1.362 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.7338, allocations: 4 kB / 1.362 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005605/0.7343, allocations: 433.8 kB / 1.363 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.7345, allocations: 108.5 kB / 1.363 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.566e-05/0.7346, allocations: 39.05 kB / 1.363 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.7346, allocations: 7.906 kB / 1.363 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000118/0.7347, allocations: 104 kB / 1.363 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.7347, allocations: 0 / 1.363 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0002328/0.7349, allocations: 135.2 kB / 1.363 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.907e-05/0.735, allocations: 60.11 kB / 1.363 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.7352, allocations: 294.7 kB / 1.363 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.7352, allocations: 30.22 kB / 1.363 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.7353, allocations: 110.8 kB / 1.363 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.7353, allocations: 38.77 kB / 1.363 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.183e-05/0.7353, allocations: 0 / 1.363 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.451e-05/0.7354, allocations: 333.2 kB / 1.364 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.615e-05/0.7355, allocations: 79.17 kB / 1.364 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.7356, allocations: 131.2 kB / 1.364 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.7358, allocations: 93.12 kB / 1.364 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.7358, allocations: 0 / 1.364 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003651/0.7362, allocations: 260.7 kB / 1.364 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.326e-06/0.7362, allocations: 4 kB / 1.364 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.7362, allocations: 4 kB / 1.364 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.7362, allocations: 0 / 1.364 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.7364, allocations: 51.72 kB / 1.364 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.7364, allocations: 4.062 kB / 1.364 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.7366, allocations: 31.91 kB / 1.364 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.871e-05/0.7366, allocations: 8 kB / 1.364 GB, free: 11.56 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 ($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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.156e-05/0.7367, allocations: 124.5 kB / 1.365 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.7367, allocations: 19.72 kB / 1.365 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002141/0.737, allocations: 159.9 kB / 1.365 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.737, allocations: 4 kB / 1.365 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.737, allocations: 0 / 1.365 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.737, allocations: 0 / 1.365 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004161/0.7374, allocations: 497.6 kB / 1.365 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7374, allocations: 4 kB / 1.365 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.637e-05/0.7375, allocations: 19.98 kB / 1.365 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.7375, allocations: 3.984 kB / 1.365 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.7376, allocations: 4 kB / 1.365 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.7376, allocations: 3.984 kB / 1.365 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.7376, allocations: 0 / 1.365 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001781/0.7377, allocations: 247.4 kB / 1.365 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.7378, allocations: 108.4 kB / 1.366 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.7378, allocations: 0 / 1.366 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.738, allocations: 19.97 kB / 1.366 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.7381, allocations: 18.73 kB / 1.366 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.7381, allocations: 8 kB / 1.366 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001217/0.7382, allocations: 197.8 kB / 1.366 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002782/0.7385, allocations: 63.42 kB / 1.366 GB, free: 10.18 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: 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.0005168/0.739, allocations: 319.9 kB / 1.366 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002001/0.7392, allocations: 151.9 kB / 1.366 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.7392, allocations: 8.062 kB / 1.366 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.433e-05/0.7393, allocations: 54.62 kB / 1.366 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.7396, allocations: 42.08 kB / 1.366 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004502/0.74, allocations: 287.3 kB / 1.367 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/0.7403, allocations: 0.7885 MB / 1.367 GB, free: 24.69 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/0.7403, allocations: 0 / 1.367 GB, free: 24.69 MB / 0.823 GB Notification: Performance of Templates: time 0.004801/0.7451, allocations: 2.803 MB / 1.37 GB, free: 21.94 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches