Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [: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.766/1.766, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001076/0.001076, allocations: 177.2 kB / 487 MB, free: 5.336 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.133/1.133, 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.000788/0.000788, allocations: 98.92 kB / 0.9213 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.044e-06/7.063e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1814, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5099/0.6913, allocations: 148.3 MB / 1.35 GB, free: 16.06 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001705/0.6915, allocations: 73.52 kB / 1.35 GB, free: 16.05 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.003996/0.6955, allocations: 1.13 MB / 1.351 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.6955, allocations: 2.469 kB / 1.351 GB, free: 15.98 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004488/0.696, allocations: 384.2 kB / 1.352 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.696, allocations: 13.75 kB / 1.352 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.6961, allocations: 7.375 kB / 1.352 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.6962, allocations: 182.2 kB / 1.352 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.6962, allocations: 2.562 kB / 1.352 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.6963, allocations: 3 kB / 1.352 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001259/0.6964, allocations: 44.78 kB / 1.352 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.6965, allocations: 71.97 kB / 1.352 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.6965, allocations: 1.094 kB / 1.352 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.6965, allocations: 0 / 1.352 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.6966, allocations: 5.031 kB / 1.352 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004202/0.697, allocations: 324.3 kB / 1.352 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004085/0.6974, allocations: 86.56 kB / 1.352 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.891e-05/0.6975, allocations: 34.52 kB / 1.352 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.6975, allocations: 5.156 kB / 1.352 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.117e-05/0.6975, allocations: 34.5 kB / 1.352 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.6975, allocations: 1.562 kB / 1.352 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0002029/0.6977, allocations: 88.78 kB / 1.352 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.859e-05/0.6978, allocations: 53.19 kB / 1.353 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.066e-05/0.6978, allocations: 109.5 kB / 1.353 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.6978, allocations: 25.7 kB / 1.353 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.08e-05/0.6979, allocations: 102.4 kB / 1.353 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.6979, allocations: 22.17 kB / 1.353 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.142e-05/0.6979, allocations: 0 / 1.353 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.405e-05/0.698, allocations: 315.3 kB / 1.353 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.147e-05/0.698, allocations: 23.55 kB / 1.353 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.607e-05/0.698, allocations: 17.31 kB / 1.353 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.375e-05/0.6981, allocations: 21.33 kB / 1.353 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.6981, allocations: 0 / 1.353 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001363/0.6982, allocations: 86.52 kB / 1.353 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.6983, allocations: 8.656 kB / 1.353 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.6983, allocations: 1.359 kB / 1.353 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.6983, allocations: 1.25 kB / 1.353 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.6985, allocations: 29.95 kB / 1.353 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.6985, allocations: 1.562 kB / 1.353 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.6986, allocations: 25.88 kB / 1.353 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.6986, allocations: 2.688 kB / 1.353 GB, free: 14.35 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 (add1.u1,add1.u2,add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 4.718e-05/0.6987, allocations: 103.5 kB / 1.353 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.6987, allocations: 6.5 kB / 1.353 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.507e-05/0.6988, allocations: 14.77 kB / 1.353 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.6988, allocations: 1.562 kB / 1.353 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.6988, allocations: 0 / 1.353 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.6988, allocations: 5.578 kB / 1.353 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.6989, allocations: 175.9 kB / 1.354 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.6989, allocations: 5.062 kB / 1.354 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.6991, allocations: 37.38 kB / 1.354 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.6991, allocations: 1.031 kB / 1.354 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.6991, allocations: 3.016 kB / 1.354 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.6991, allocations: 0 / 1.354 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.6991, allocations: 0 / 1.354 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001549/0.6993, allocations: 180.2 kB / 1.354 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.14e-05/0.6993, allocations: 84.48 kB / 1.354 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.6994, allocations: 5.094 kB / 1.354 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.6995, allocations: 18.45 kB / 1.354 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/0.6996, allocations: 26.36 kB / 1.354 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.6996, allocations: 3.781 kB / 1.354 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.18e-05/0.6996, allocations: 95.22 kB / 1.354 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002194/0.6999, allocations: 13.28 kB / 1.354 GB, free: 13.75 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: 3 (add1.u1,add1.u2,add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001207/0.7, allocations: 108.5 kB / 1.354 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001368/0.7001, allocations: 55.31 kB / 1.354 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.7001, allocations: 0 / 1.354 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.218e-05/0.7002, allocations: 41.5 kB / 1.354 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.7004, allocations: 12.72 kB / 1.354 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.7008, allocations: 108.1 kB / 1.354 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.7009, allocations: 0.7143 MB / 1.355 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of SimCode: time 2.4e-07/0.7009, allocations: 0 / 1.355 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of Templates: time 0.003494/0.7044, allocations: 1.375 MB / 1.356 GB, free: 12.78 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches