Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.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.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product.u1|product.u2|product.y",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.773/1.773, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.0009132/0.0009132, allocations: 187.9 kB / 487 MB, free: 5.387 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.111/1.111, allocations: 221.4 MB / 0.7819 GB, free: 1.402 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.0008206/0.0008207, allocations: 94.33 kB / 0.9213 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.523e-06/6.553e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.181, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4938/0.6748, allocations: 152.5 MB / 1.354 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001831/0.6751, allocations: 77.7 kB / 1.354 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02656/0.7016, allocations: 10.65 MB / 1.365 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.458e-05/0.7017, allocations: 8 kB / 1.365 GB, free: 11.75 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005156/0.7022, allocations: 0.5225 MB / 1.365 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.7022, allocations: 9.031 kB / 1.365 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.594e-05/0.7023, allocations: 31.62 kB / 1.365 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005512/0.7029, allocations: 408.1 kB / 1.366 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.7029, allocations: 0 / 1.366 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.7029, allocations: 8 kB / 1.366 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001126/0.703, allocations: 54.23 kB / 1.366 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.7032, allocations: 101.1 kB / 1.366 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.7032, allocations: 0 / 1.366 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.7032, allocations: 0 / 1.366 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.7032, allocations: 11.89 kB / 1.366 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005358/0.7038, allocations: 493.6 kB / 1.366 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.7039, allocations: 114.7 kB / 1.366 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.092e-05/0.704, allocations: 50.34 kB / 1.366 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.704, allocations: 0 / 1.366 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000109/0.7041, allocations: 101.8 kB / 1.367 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.7041, allocations: 0 / 1.367 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0002464/0.7044, allocations: 149.2 kB / 1.367 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.777e-05/0.7044, allocations: 59.31 kB / 1.367 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003866/0.7048, allocations: 453 kB / 1.367 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.7048, allocations: 33.7 kB / 1.367 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.7049, allocations: 125.4 kB / 1.367 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.7049, allocations: 38.52 kB / 1.367 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.533e-05/0.7049, allocations: 3.938 kB / 1.367 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.884e-05/0.705, allocations: 349.2 kB / 1.368 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.7051, allocations: 111.4 kB / 1.368 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.7053, allocations: 146 kB / 1.368 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.7056, allocations: 141.8 kB / 1.368 GB, free: 8.617 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.7056, allocations: 0 / 1.368 GB, free: 8.617 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000536/0.7061, allocations: 359.7 kB / 1.368 GB, free: 8.332 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/0.7062, allocations: 4 kB / 1.368 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.7062, allocations: 0 / 1.368 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.7062, allocations: 7.984 kB / 1.368 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.7064, allocations: 54.97 kB / 1.368 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.7064, allocations: 4 kB / 1.368 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.7065, allocations: 11.84 kB / 1.368 GB, free: 8.254 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.305e-05/0.7066, allocations: 19.42 kB / 1.368 GB, free: 8.238 MB / 0.8073 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 5.923e-05/0.7067, allocations: 112 kB / 1.369 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.714e-05/0.7067, allocations: 35.53 kB / 1.369 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.707, allocations: 181 kB / 1.369 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.707, allocations: 0 / 1.369 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.707, allocations: 4 kB / 1.369 GB, free: 7.941 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.707, allocations: 0 / 1.369 GB, free: 7.941 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.7072, allocations: 279.5 kB / 1.369 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.7072, allocations: 0 / 1.369 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.174e-05/0.7072, allocations: 23.92 kB / 1.369 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.7073, allocations: 0 / 1.369 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.7073, allocations: 0 / 1.369 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.7073, allocations: 4 kB / 1.369 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.7073, allocations: 3.984 kB / 1.369 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002003/0.7075, allocations: 192.1 kB / 1.369 GB, free: 7.477 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.796e-05/0.7076, allocations: 127.6 kB / 1.369 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.699e-05/0.7076, allocations: 3.984 kB / 1.369 GB, free: 7.336 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.7077, allocations: 4 kB / 1.369 GB, free: 7.332 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.7078, allocations: 19.53 kB / 1.369 GB, free: 7.316 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.7078, allocations: 7.562 kB / 1.369 GB, free: 7.312 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0002233/0.708, allocations: 307.1 kB / 1.37 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002612/0.7083, allocations: 59.94 kB / 1.37 GB, free: 7.02 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: 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.0005368/0.7088, allocations: 334.2 kB / 1.37 GB, free: 6.781 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002361/0.7091, allocations: 178.8 kB / 1.37 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.7091, allocations: 0 / 1.37 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.426e-05/0.7092, allocations: 73.28 kB / 1.37 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.7095, allocations: 78.06 kB / 1.37 GB, free: 6.535 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005912/0.7101, allocations: 427.6 kB / 1.371 GB, free: 6.152 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/0.7105, allocations: 0.828 MB / 1.372 GB, free: 21.3 MB / 0.823 GB Notification: Performance of SimCode: time 2.41e-07/0.7105, allocations: 0 / 1.372 GB, free: 21.3 MB / 0.823 GB Notification: Performance of Templates: time 0.005813/0.7163, allocations: 3.625 MB / 1.375 GB, free: 17.73 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches