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.Product.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.Product,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product.u1|product.u2|product.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Product,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product.u1|product.u2|product.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product") [: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.389/1.389, allocations: 249.4 MB / 256.7 MB, free: 6.977 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.001099/0.0011, allocations: 188.7 kB / 316 MB, free: 3.496 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.501/1.501, allocations: 205.1 MB / 0.5667 GB, free: 15.59 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.001077/0.001077, allocations: 89.14 kB / 0.671 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.017e-06/9.057e-06, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2084, allocations: 106.3 MB / 0.8846 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6359/0.8443, allocations: 135.5 MB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.8446, allocations: 83.38 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02724/0.8719, allocations: 10.11 MB / 1.027 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.531e-05/0.8719, allocations: 4 kB / 1.027 GB, free: 10.67 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00067/0.8726, allocations: 0.518 MB / 1.027 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.8727, allocations: 8.031 kB / 1.027 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.595e-05/0.8727, allocations: 35.53 kB / 1.027 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005919/0.8733, allocations: 378.6 kB / 1.028 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.8734, allocations: 4 kB / 1.028 GB, free: 9.707 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.8734, allocations: 7.938 kB / 1.028 GB, free: 9.699 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001395/0.8735, allocations: 55.98 kB / 1.028 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.8737, allocations: 97.81 kB / 1.028 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.8737, allocations: 0 / 1.028 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.8738, allocations: 0 / 1.028 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.8738, allocations: 7.984 kB / 1.028 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006575/0.8744, allocations: 479.2 kB / 1.028 GB, free: 9.145 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.8746, allocations: 118.3 kB / 1.029 GB, free: 9.051 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.658e-05/0.8747, allocations: 50.91 kB / 1.029 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.8748, allocations: 0 / 1.029 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001444/0.8749, allocations: 106.6 kB / 1.029 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 1.442e-06/0.8749, allocations: 3.938 kB / 1.029 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0003198/0.8752, allocations: 148.8 kB / 1.029 GB, free: 8.785 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.8753, allocations: 51.41 kB / 1.029 GB, free: 8.723 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005609/0.8759, allocations: 445.9 kB / 1.029 GB, free: 8.371 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.8759, allocations: 33.08 kB / 1.029 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.418e-05/0.876, allocations: 121.5 kB / 1.029 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.876, allocations: 36.67 kB / 1.03 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.558e-05/0.876, allocations: 0 / 1.03 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.8762, allocations: 348.5 kB / 1.03 GB, free: 7.855 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.8763, allocations: 110.3 kB / 1.03 GB, free: 7.781 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.8765, allocations: 138.6 kB / 1.03 GB, free: 7.68 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.8767, allocations: 122.1 kB / 1.03 GB, free: 7.594 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.8767, allocations: 0 / 1.03 GB, free: 7.594 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004621/0.8772, allocations: 333 kB / 1.031 GB, free: 7.336 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.8772, allocations: 8 kB / 1.031 GB, free: 7.328 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.8772, allocations: 3.984 kB / 1.031 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.8772, allocations: 0 / 1.031 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002582/0.8775, allocations: 55.41 kB / 1.031 GB, free: 7.273 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.8775, allocations: 4 kB / 1.031 GB, free: 7.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.8777, allocations: 15.91 kB / 1.031 GB, free: 7.254 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.595e-05/0.8778, allocations: 19.11 kB / 1.031 GB, free: 7.238 MB / 0.6511 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 0.0001087/0.8779, allocations: 116.8 kB / 1.031 GB, free: 7.117 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.681e-05/0.8779, allocations: 31.62 kB / 1.031 GB, free: 7.086 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00032/0.8783, allocations: 171.5 kB / 1.031 GB, free: 6.953 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.8783, allocations: 4 kB / 1.031 GB, free: 6.949 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.8783, allocations: 4 kB / 1.031 GB, free: 6.945 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.8783, allocations: 3.906 kB / 1.031 GB, free: 6.941 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.8786, allocations: 277.4 kB / 1.031 GB, free: 6.676 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.8786, allocations: 0 / 1.031 GB, free: 6.676 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.053e-05/0.8787, allocations: 16 kB / 1.031 GB, free: 6.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.8787, allocations: 3.984 kB / 1.031 GB, free: 6.656 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.8787, allocations: 3.906 kB / 1.031 GB, free: 6.652 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.8787, allocations: 4 kB / 1.031 GB, free: 6.648 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.8787, allocations: 0 / 1.031 GB, free: 6.648 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002632/0.879, allocations: 191 kB / 1.031 GB, free: 6.477 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.8791, allocations: 123.8 kB / 1.032 GB, free: 6.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.055e-05/0.8792, allocations: 3.688 kB / 1.032 GB, free: 6.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.8793, allocations: 7.984 kB / 1.032 GB, free: 6.332 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.689e-05/0.8794, allocations: 15.17 kB / 1.032 GB, free: 6.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.8794, allocations: 7.984 kB / 1.032 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002883/0.8797, allocations: 288.4 kB / 1.032 GB, free: 6.094 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003063/0.88, allocations: 63.72 kB / 1.032 GB, free: 6.035 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: 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.0007259/0.8807, allocations: 325 kB / 1.032 GB, free: 5.793 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003089/0.8811, allocations: 186.7 kB / 1.032 GB, free: 5.66 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.8811, allocations: 0 / 1.032 GB, free: 5.66 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.8812, allocations: 66.41 kB / 1.032 GB, free: 5.613 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.8816, allocations: 72.53 kB / 1.033 GB, free: 5.559 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008096/0.8825, allocations: 422.2 kB / 1.033 GB, free: 5.172 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004843/0.883, allocations: 0.8203 MB / 1.034 GB, free: 4.332 MB / 0.6511 GB Notification: Performance of SimCode: time 2.81e-07/0.883, allocations: 0 / 1.034 GB, free: 4.332 MB / 0.6511 GB Notification: Performance of Templates: time 0.007558/0.8905, allocations: 3.446 MB / 1.037 GB, free: 0.9219 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_Product.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches