Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.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.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product.u1|product.u2|product.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product.u1|product.u2|product.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply") [: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.712/1.712, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.0008701/0.0008701, allocations: 169.4 kB / 490.8 MB, free: 1.91 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.054/1.054, allocations: 221.4 MB / 0.7863 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008104/0.0008104, allocations: 96.98 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.262e-06/6.352e-06, allocations: 3.406 kB / 1.072 GB, free: 45.06 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1837, allocations: 143 MB / 1.212 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1488/0.3325, allocations: 153.3 MB / 1.361 GB, free: 2.828 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001675/0.3327, allocations: 71.97 kB / 1.361 GB, free: 2.758 MB / 0.9948 GB Notification: Performance of FrontEnd: time 0.02453/0.3573, allocations: 10.64 MB / 1.372 GB, free: 8.105 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.954e-05/0.3573, allocations: 12.09 kB / 1.372 GB, free: 8.094 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000519/0.3578, allocations: 0.5247 MB / 1.372 GB, free: 7.523 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 2.726e-05/0.3579, allocations: 12.03 kB / 1.372 GB, free: 7.512 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.351e-05/0.3579, allocations: 35.62 kB / 1.372 GB, free: 7.477 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000568/0.3585, allocations: 395.6 kB / 1.373 GB, free: 7.055 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.3585, allocations: 7.938 kB / 1.373 GB, free: 7.047 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.3586, allocations: 11.92 kB / 1.373 GB, free: 7.035 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001116/0.3587, allocations: 55.98 kB / 1.373 GB, free: 6.98 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.3588, allocations: 93.64 kB / 1.373 GB, free: 6.883 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.3589, allocations: 0 / 1.373 GB, free: 6.883 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.3589, allocations: 7.984 kB / 1.373 GB, free: 6.875 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3589, allocations: 0 / 1.373 GB, free: 6.875 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005749/0.3595, allocations: 485 kB / 1.373 GB, free: 6.363 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.3596, allocations: 130.8 kB / 1.373 GB, free: 6.227 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.503e-05/0.3597, allocations: 44.84 kB / 1.374 GB, free: 6.18 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.3597, allocations: 3.984 kB / 1.374 GB, free: 6.176 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001218/0.3599, allocations: 103.3 kB / 1.374 GB, free: 6.062 MB / 1.01 GB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.3599, allocations: 0 / 1.374 GB, free: 6.062 MB / 1.01 GB Notification: Performance of matching and sorting (n=13): time 0.0002499/0.3601, allocations: 155.5 kB / 1.374 GB, free: 5.906 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.3602, allocations: 59.41 kB / 1.374 GB, free: 5.836 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004201/0.3606, allocations: 457.8 kB / 1.374 GB, free: 5.379 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.3606, allocations: 25.7 kB / 1.374 GB, free: 5.348 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 5.576e-05/0.3607, allocations: 132.3 kB / 1.374 GB, free: 5.215 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.3607, allocations: 31.55 kB / 1.374 GB, free: 5.184 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.47e-05/0.3607, allocations: 0 / 1.374 GB, free: 5.184 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.215e-05/0.3608, allocations: 350.8 kB / 1.375 GB, free: 4.832 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.361, allocations: 104.5 kB / 1.375 GB, free: 4.727 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.3611, allocations: 151.3 kB / 1.375 GB, free: 4.57 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/0.3614, allocations: 140.3 kB / 1.375 GB, free: 4.434 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3615, allocations: 0 / 1.375 GB, free: 4.434 MB / 1.01 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005547/0.362, allocations: 357.6 kB / 1.376 GB, free: 4.078 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.362, allocations: 8 kB / 1.376 GB, free: 4.07 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.362, allocations: 4.062 kB / 1.376 GB, free: 4.066 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.719e-06/0.3621, allocations: 224 / 1.376 GB, free: 4.066 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.3623, allocations: 55.91 kB / 1.376 GB, free: 4.012 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3623, allocations: 7.938 kB / 1.376 GB, free: 4.004 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.3624, allocations: 11.89 kB / 1.376 GB, free: 3.992 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.3625, allocations: 12 kB / 1.376 GB, free: 3.98 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,product.u1,product.u2,product.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 7.07e-05/0.3625, allocations: 120.9 kB / 1.376 GB, free: 3.855 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.3626, allocations: 35.53 kB / 1.376 GB, free: 3.82 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000265/0.3629, allocations: 176.6 kB / 1.376 GB, free: 3.645 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.3629, allocations: 3.984 kB / 1.376 GB, free: 3.641 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.3629, allocations: 0 / 1.376 GB, free: 3.641 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3629, allocations: 0 / 1.376 GB, free: 3.641 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.3631, allocations: 285.9 kB / 1.376 GB, free: 3.324 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3631, allocations: 0 / 1.376 GB, free: 3.324 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.414e-05/0.3632, allocations: 15.98 kB / 1.376 GB, free: 3.309 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3632, allocations: 4 kB / 1.376 GB, free: 3.305 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.3632, allocations: 4 kB / 1.376 GB, free: 3.301 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3632, allocations: 0 / 1.376 GB, free: 3.301 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3632, allocations: 0 / 1.376 GB, free: 3.301 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002208/0.3634, allocations: 199.4 kB / 1.376 GB, free: 3.09 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.87e-05/0.3635, allocations: 120.6 kB / 1.377 GB, free: 2.953 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.541e-05/0.3636, allocations: 4 kB / 1.377 GB, free: 2.949 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.3637, allocations: 7.984 kB / 1.377 GB, free: 2.941 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.3637, allocations: 19.98 kB / 1.377 GB, free: 2.922 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.3638, allocations: 7.984 kB / 1.377 GB, free: 2.914 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.0002522/0.364, allocations: 296.6 kB / 1.377 GB, free: 2.625 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002541/0.3643, allocations: 67.86 kB / 1.377 GB, free: 2.559 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,product.u1,product.u2,product.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0005299/0.3648, allocations: 329 kB / 1.377 GB, free: 2.312 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002481/0.3651, allocations: 191.9 kB / 1.377 GB, free: 2.125 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.3651, allocations: 4.062 kB / 1.377 GB, free: 2.121 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 8.699e-05/0.3652, allocations: 66.45 kB / 1.377 GB, free: 2.059 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.3655, allocations: 77.67 kB / 1.378 GB, free: 1.984 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006103/0.3661, allocations: 423.9 kB / 1.378 GB, free: 1.539 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003331/0.3665, allocations: 0.8296 MB / 1.379 GB, free: 0.6797 MB / 1.01 GB Notification: Performance of SimCode: time 2.7e-07/0.3665, allocations: 0 / 1.379 GB, free: 0.6797 MB / 1.01 GB Notification: Performance of Templates: time 0.006075/0.3726, allocations: 3.618 MB / 1.382 GB, free: 13.09 MB / 1.026 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches