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.435/1.435, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 179 kB / 326.5 MB, free: 2.246 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.735/1.735, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0008585/0.0008586, allocations: 89.89 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003512, allocations: 8.906 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.217, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1824/0.3994, allocations: 135.3 MB / 1.032 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/0.3998, allocations: 83.95 kB / 1.032 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03072/0.4306, allocations: 10.63 MB / 1.043 GB, free: 13.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4306, allocations: 0 / 1.043 GB, free: 13.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.218e-05/0.4307, allocations: 11.94 kB / 1.043 GB, free: 13.69 MB / 0.698 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.001249/0.4319, allocations: 0.5915 MB / 1.043 GB, free: 13.05 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.432, allocations: 8.031 kB / 1.043 GB, free: 13.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.4322, allocations: 35.53 kB / 1.043 GB, free: 13 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008493/0.433, allocations: 373.2 kB / 1.044 GB, free: 12.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.4331, allocations: 12 kB / 1.044 GB, free: 12.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.4331, allocations: 8 kB / 1.044 GB, free: 12.58 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.4334, allocations: 116.3 kB / 1.044 GB, free: 12.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.4334, allocations: 0 / 1.044 GB, free: 12.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.4334, allocations: 4 kB / 1.044 GB, free: 12.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.4334, allocations: 0 / 1.044 GB, free: 12.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.4336, allocations: 67.89 kB / 1.044 GB, free: 12.39 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000985/0.4346, allocations: 0.5043 MB / 1.044 GB, free: 11.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.435, allocations: 138.7 kB / 1.045 GB, free: 11.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.435, allocations: 4 kB / 1.045 GB, free: 11.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002601/0.4353, allocations: 115.3 kB / 1.045 GB, free: 11.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.944e-06/0.4353, allocations: 0 / 1.045 GB, free: 11.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0005925/0.4359, allocations: 243.4 kB / 1.045 GB, free: 11.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.436, allocations: 51.41 kB / 1.045 GB, free: 11.26 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000617/0.4366, allocations: 460.8 kB / 1.045 GB, free: 10.81 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.4366, allocations: 29.7 kB / 1.045 GB, free: 10.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.4368, allocations: 172.3 kB / 1.046 GB, free: 10.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/0.4368, allocations: 31.61 kB / 1.046 GB, free: 10.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.141e-05/0.4368, allocations: 8 kB / 1.046 GB, free: 10.56 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.437, allocations: 347.4 kB / 1.046 GB, free: 10.21 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.4373, allocations: 116.5 kB / 1.046 GB, free: 10.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.4375, allocations: 155.6 kB / 1.046 GB, free: 9.938 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.4378, allocations: 120 kB / 1.046 GB, free: 9.82 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.4378, allocations: 7.984 kB / 1.046 GB, free: 9.812 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006457/0.4384, allocations: 361.6 kB / 1.047 GB, free: 9.453 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.4385, allocations: 4 kB / 1.047 GB, free: 9.449 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.4385, allocations: 224 / 1.047 GB, free: 9.449 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.4385, allocations: 7.938 kB / 1.047 GB, free: 9.441 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.4388, allocations: 55.91 kB / 1.047 GB, free: 9.387 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.4388, allocations: 3.953 kB / 1.047 GB, free: 9.383 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.439, allocations: 19.91 kB / 1.047 GB, free: 9.363 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.202e-05/0.439, allocations: 23.98 kB / 1.047 GB, free: 9.34 MB / 0.698 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 () * Number of clocked 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.0002154/0.4393, allocations: 173.8 kB / 1.047 GB, free: 9.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.67e-05/0.4393, allocations: 31.62 kB / 1.047 GB, free: 9.129 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004637/0.4398, allocations: 216.4 kB / 1.047 GB, free: 8.906 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.4398, allocations: 4 kB / 1.047 GB, free: 8.902 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.4398, allocations: 0 / 1.047 GB, free: 8.902 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.4398, allocations: 11.94 kB / 1.047 GB, free: 8.891 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003655/0.4402, allocations: 309.4 kB / 1.047 GB, free: 8.539 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4402, allocations: 0 / 1.047 GB, free: 8.539 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.631e-05/0.4403, allocations: 12 kB / 1.047 GB, free: 8.527 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.4403, allocations: 4 kB / 1.047 GB, free: 8.523 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.4404, allocations: 3.984 kB / 1.047 GB, free: 8.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.4404, allocations: 0 / 1.047 GB, free: 8.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.4404, allocations: 4 kB / 1.047 GB, free: 8.516 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004315/0.4408, allocations: 230.5 kB / 1.048 GB, free: 8.273 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.441, allocations: 116.7 kB / 1.048 GB, free: 8.141 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.781e-05/0.441, allocations: 4 kB / 1.048 GB, free: 8.137 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.4411, allocations: 11.98 kB / 1.048 GB, free: 8.125 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.023e-05/0.4412, allocations: 15.98 kB / 1.048 GB, free: 8.109 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.4413, allocations: 7.984 kB / 1.048 GB, free: 8.102 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003982/0.4417, allocations: 311.1 kB / 1.048 GB, free: 7.797 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.31e-07/0.4417, allocations: 0 / 1.048 GB, free: 7.797 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003883/0.4421, allocations: 71.88 kB / 1.048 GB, free: 7.727 MB / 0.698 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) * Number of clocked states: 0 () * 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.001156/0.4432, allocations: 434.1 kB / 1.049 GB, free: 7.449 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004697/0.4437, allocations: 202.4 kB / 1.049 GB, free: 7.254 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4437, allocations: 0 / 1.049 GB, free: 7.254 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.4439, allocations: 71.91 kB / 1.049 GB, free: 7.184 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004556/0.4444, allocations: 78.7 kB / 1.049 GB, free: 7.113 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.4455, allocations: 0.597 MB / 1.05 GB, free: 6.492 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/0.446, allocations: 0.7913 MB / 1.05 GB, free: 5.672 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002196/0.4462, allocations: 54.94 kB / 1.05 GB, free: 5.617 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.194e-05/0.4463, allocations: 31.42 kB / 1.05 GB, free: 5.586 MB / 0.698 GB Notification: Performance of SimCode: time 5.11e-07/0.4463, allocations: 0 / 1.05 GB, free: 5.586 MB / 0.698 GB Notification: Performance of Templates: time 0.008504/0.4548, allocations: 3.762 MB / 1.054 GB, free: 1.848 MB / 0.698 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