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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.422/1.422, allocations: 249.5 MB / 257 MB, free: 6.988 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.00108/0.00108, allocations: 184.8 kB / 316.3 MB, free: 3.27 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.522/1.522, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0009467/0.0009467, allocations: 87.94 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.905e-05/1.907e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2366, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7747/1.011, allocations: 135.5 MB / 1.018 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/1.012, allocations: 85.44 kB / 1.018 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02896/1.041, allocations: 10.49 MB / 1.028 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.342e-06/1.041, allocations: 0 / 1.028 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.445e-05/1.041, allocations: 8 kB / 1.028 GB, free: 9.516 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.0007802/1.042, allocations: 0.5109 MB / 1.028 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/1.042, allocations: 11.97 kB / 1.028 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.912e-05/1.042, allocations: 35.53 kB / 1.028 GB, free: 8.93 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000631/1.042, allocations: 373.4 kB / 1.029 GB, free: 8.566 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/1.042, allocations: 11.92 kB / 1.029 GB, free: 8.555 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/1.042, allocations: 8 kB / 1.029 GB, free: 8.547 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001492/1.043, allocations: 56.98 kB / 1.029 GB, free: 8.512 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/1.043, allocations: 100.4 kB / 1.029 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/1.043, allocations: 0 / 1.029 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/1.043, allocations: 0 / 1.029 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/1.043, allocations: 7.922 kB / 1.029 GB, free: 8.418 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007871/1.044, allocations: 482.8 kB / 1.029 GB, free: 7.984 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/1.044, allocations: 119.3 kB / 1.03 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.128e-05/1.044, allocations: 42.23 kB / 1.03 GB, free: 7.863 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/1.044, allocations: 0 / 1.03 GB, free: 7.863 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002174/1.044, allocations: 116.1 kB / 1.03 GB, free: 7.758 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/1.044, allocations: 0 / 1.03 GB, free: 7.758 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0003703/1.045, allocations: 171.3 kB / 1.03 GB, free: 7.613 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/1.045, allocations: 55.41 kB / 1.03 GB, free: 7.547 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000529/1.045, allocations: 445.7 kB / 1.03 GB, free: 7.203 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/1.045, allocations: 25.7 kB / 1.03 GB, free: 7.172 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/1.045, allocations: 163.5 kB / 1.031 GB, free: 7.055 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/1.045, allocations: 34.45 kB / 1.031 GB, free: 7.027 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.69e-05/1.045, allocations: 4 kB / 1.031 GB, free: 7.023 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001576/1.046, allocations: 349 kB / 1.031 GB, free: 6.688 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/1.046, allocations: 102.7 kB / 1.031 GB, free: 6.617 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/1.046, allocations: 147.8 kB / 1.031 GB, free: 6.508 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/1.046, allocations: 115.1 kB / 1.031 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/1.046, allocations: 0 / 1.031 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004628/1.047, allocations: 337.2 kB / 1.032 GB, free: 6.168 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/1.047, allocations: 8 kB / 1.032 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/1.047, allocations: 0 / 1.032 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/1.047, allocations: 3.938 kB / 1.032 GB, free: 6.156 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/1.047, allocations: 47.97 kB / 1.032 GB, free: 6.109 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/1.047, allocations: 4 kB / 1.032 GB, free: 6.105 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/1.047, allocations: 19.78 kB / 1.032 GB, free: 6.086 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.457e-05/1.047, allocations: 15.62 kB / 1.032 GB, free: 6.074 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.0001083/1.047, allocations: 116.5 kB / 1.032 GB, free: 5.957 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/1.047, allocations: 35.61 kB / 1.032 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003485/1.048, allocations: 187.9 kB / 1.032 GB, free: 5.762 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/1.048, allocations: 3.938 kB / 1.032 GB, free: 5.758 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.048, allocations: 0 / 1.032 GB, free: 5.758 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.048, allocations: 0 / 1.032 GB, free: 5.758 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002842/1.048, allocations: 290.2 kB / 1.032 GB, free: 5.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.048, allocations: 0 / 1.032 GB, free: 5.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.336e-05/1.048, allocations: 16 kB / 1.032 GB, free: 5.465 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/1.048, allocations: 4 kB / 1.032 GB, free: 5.461 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/1.048, allocations: 7.984 kB / 1.032 GB, free: 5.453 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/1.048, allocations: 0 / 1.032 GB, free: 5.453 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.048, allocations: 0 / 1.032 GB, free: 5.453 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/1.048, allocations: 205.7 kB / 1.032 GB, free: 5.266 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/1.049, allocations: 119.8 kB / 1.033 GB, free: 5.137 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-05/1.049, allocations: 0 / 1.033 GB, free: 5.137 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/1.049, allocations: 15.92 kB / 1.033 GB, free: 5.121 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.05e-05/1.049, allocations: 15.48 kB / 1.033 GB, free: 5.109 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/1.049, allocations: 11.42 kB / 1.033 GB, free: 5.102 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003055/1.049, allocations: 286.2 kB / 1.033 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.51e-07/1.049, allocations: 0 / 1.033 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002919/1.049, allocations: 63.61 kB / 1.033 GB, free: 4.824 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.0008128/1.05, allocations: 370.1 kB / 1.033 GB, free: 4.543 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002838/1.051, allocations: 181 kB / 1.034 GB, free: 4.418 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/1.051, allocations: 0 / 1.034 GB, free: 4.418 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.832e-05/1.051, allocations: 64.61 kB / 1.034 GB, free: 4.371 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/1.051, allocations: 75.61 kB / 1.034 GB, free: 4.316 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007109/1.052, allocations: 420.3 kB / 1.034 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/1.052, allocations: 0.793 MB / 1.035 GB, free: 3.125 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000153/1.052, allocations: 51.27 kB / 1.035 GB, free: 3.074 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.139e-05/1.052, allocations: 27.42 kB / 1.035 GB, free: 3.051 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/1.052, allocations: 0 / 1.035 GB, free: 3.051 MB / 0.6511 GB Notification: Performance of Templates: time 0.007202/1.06, allocations: 3.502 MB / 1.038 GB, free: 15.59 MB / 0.6667 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