Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.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.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") [: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.663/1.663, allocations: 390.4 MB / 397.7 MB, free: 5.164 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008871/0.0008872, allocations: 177.3 kB / 490.8 MB, free: 4.727 MB / 382.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.037/1.037, allocations: 221.4 MB / 0.7863 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000811/0.000811, allocations: 84.61 kB / 0.9264 GB, free: 64.49 MB / 0.67 GB Notification: Performance of FrontEnd - loaded program: time 5.851e-06/5.881e-06, allocations: 0 / 1.072 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.1999, allocations: 143 MB / 1.212 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4357/0.6356, allocations: 149.1 MB / 1.357 GB, free: 49.88 MB / 0.8731 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001493/0.6358, allocations: 73.17 kB / 1.357 GB, free: 49.81 MB / 0.8731 GB Notification: Performance of FrontEnd: time 0.003436/0.6393, allocations: 1.132 MB / 1.358 GB, free: 48.72 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.6393, allocations: 0 / 1.358 GB, free: 48.72 MB / 0.8731 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.0003659/0.6397, allocations: 384.7 kB / 1.359 GB, free: 48.31 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 2.769e-05/0.6397, allocations: 9.094 kB / 1.359 GB, free: 48.3 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.6397, allocations: 7.906 kB / 1.359 GB, free: 48.29 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.982e-05/0.6398, allocations: 180 kB / 1.359 GB, free: 48.08 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.6398, allocations: 7.688 kB / 1.359 GB, free: 48.08 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.6399, allocations: 4.781 kB / 1.359 GB, free: 48.07 MB / 0.8731 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001011/0.64, allocations: 47.98 kB / 1.359 GB, free: 48.03 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.839e-05/0.6401, allocations: 74.44 kB / 1.359 GB, free: 47.95 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.6401, allocations: 0.75 kB / 1.359 GB, free: 47.95 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.6401, allocations: 3.75 kB / 1.359 GB, free: 47.95 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.6401, allocations: 0 / 1.359 GB, free: 47.95 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.6405, allocations: 313.2 kB / 1.359 GB, free: 47.61 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003614/0.6408, allocations: 92.25 kB / 1.359 GB, free: 47.51 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.852e-05/0.6409, allocations: 33.73 kB / 1.359 GB, free: 47.47 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.6409, allocations: 4 kB / 1.359 GB, free: 47.47 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.516e-06/0.6409, allocations: 32.12 kB / 1.36 GB, free: 47.43 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.6409, allocations: 1.969 kB / 1.36 GB, free: 47.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=7): time 0.000175/0.6411, allocations: 82.2 kB / 1.36 GB, free: 47.34 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.285e-05/0.6411, allocations: 58.91 kB / 1.36 GB, free: 47.28 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.959e-05/0.6412, allocations: 112.9 kB / 1.36 GB, free: 47.16 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.6412, allocations: 25.7 kB / 1.36 GB, free: 47.13 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 1.585e-05/0.6412, allocations: 88.05 kB / 1.36 GB, free: 47.04 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.6412, allocations: 23.64 kB / 1.36 GB, free: 47.02 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.6412, allocations: 0 / 1.36 GB, free: 47.02 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 3.179e-05/0.6413, allocations: 318.8 kB / 1.36 GB, free: 46.7 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.624e-05/0.6413, allocations: 30.27 kB / 1.36 GB, free: 46.67 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.225e-05/0.6414, allocations: 20 kB / 1.36 GB, free: 46.65 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.744e-05/0.6414, allocations: 17.56 kB / 1.36 GB, free: 46.63 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.6414, allocations: 0 / 1.36 GB, free: 46.63 MB / 0.8731 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001181/0.6415, allocations: 89.72 kB / 1.36 GB, free: 46.54 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 7.854e-06/0.6415, allocations: 4 kB / 1.36 GB, free: 46.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.6416, allocations: 0 / 1.36 GB, free: 46.54 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.757e-06/0.6416, allocations: 0 / 1.36 GB, free: 46.54 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.6417, allocations: 35.97 kB / 1.36 GB, free: 46.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.443e-06/0.6418, allocations: 0 / 1.36 GB, free: 46.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.6419, allocations: 23.88 kB / 1.36 GB, free: 46.48 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.6419, allocations: 8 kB / 1.36 GB, free: 46.47 MB / 0.8731 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 (sub.y,reaToInt.y,reaToInt1.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 3.879e-05/0.6419, allocations: 108.9 kB / 1.361 GB, free: 46.36 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.642, allocations: 7.906 kB / 1.361 GB, free: 46.35 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.933e-05/0.642, allocations: 8.312 kB / 1.361 GB, free: 46.34 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.642, allocations: 4 kB / 1.361 GB, free: 46.34 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.642, allocations: 0 / 1.361 GB, free: 46.34 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.642, allocations: 5.531 kB / 1.361 GB, free: 46.33 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.6421, allocations: 174.1 kB / 1.361 GB, free: 46.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.6421, allocations: 3.75 kB / 1.361 GB, free: 46.12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.6423, allocations: 31.97 kB / 1.361 GB, free: 46.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.6423, allocations: 0 / 1.361 GB, free: 46.09 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.6423, allocations: 4 kB / 1.361 GB, free: 46.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.6423, allocations: 0 / 1.361 GB, free: 46.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6423, allocations: 0 / 1.361 GB, free: 46.09 MB / 0.8731 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001274/0.6425, allocations: 188.1 kB / 1.361 GB, free: 45.89 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 1.691e-05/0.6425, allocations: 92.94 kB / 1.361 GB, free: 45.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.6425, allocations: 0 / 1.361 GB, free: 45.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.6427, allocations: 23.98 kB / 1.361 GB, free: 45.76 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.282e-05/0.6427, allocations: 23.88 kB / 1.361 GB, free: 45.74 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.6427, allocations: 0 / 1.361 GB, free: 45.74 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.515e-05/0.6428, allocations: 95.27 kB / 1.361 GB, free: 45.64 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002016/0.643, allocations: 12 kB / 1.361 GB, free: 45.63 MB / 0.8731 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 (sub.y,reaToInt.y,reaToInt1.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 8.082e-05/0.6431, allocations: 107.2 kB / 1.361 GB, free: 45.52 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.6432, allocations: 47.98 kB / 1.361 GB, free: 45.47 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.6432, allocations: 0 / 1.361 GB, free: 45.47 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 5.929e-05/0.6432, allocations: 43.92 kB / 1.361 GB, free: 45.43 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.6434, allocations: 11.94 kB / 1.361 GB, free: 45.41 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002728/0.6437, allocations: 106.9 kB / 1.361 GB, free: 45.29 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.6438, allocations: 0.7075 MB / 1.362 GB, free: 44.55 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.6438, allocations: 0 / 1.362 GB, free: 44.55 MB / 0.8731 GB Notification: Performance of Templates: time 0.002476/0.6463, allocations: 1.399 MB / 1.364 GB, free: 43.21 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches