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.433/1.433, allocations: 249.3 MB / 261.8 MB, free: 5.844 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.001041/0.001041, allocations: 176.9 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0008322/0.0008321, allocations: 86.55 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.952e-05/3.954e-05, allocations: 4 kB / 0.788 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2042, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6742/0.8785, allocations: 135.2 MB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.8787, allocations: 76.58 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02851/0.9073, allocations: 10.61 MB / 1.034 GB, free: 6.473 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9073, allocations: 0 / 1.034 GB, free: 6.473 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.393e-05/0.9073, allocations: 4 kB / 1.034 GB, free: 6.469 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.0006479/0.908, allocations: 0.5075 MB / 1.035 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.9081, allocations: 12.03 kB / 1.035 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.806e-05/0.9081, allocations: 39.52 kB / 1.035 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005819/0.9087, allocations: 377.6 kB / 1.035 GB, free: 5.516 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.9088, allocations: 7.938 kB / 1.035 GB, free: 5.512 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.9088, allocations: 4 kB / 1.035 GB, free: 5.508 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.909, allocations: 111.9 kB / 1.035 GB, free: 5.418 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.909, allocations: 0 / 1.035 GB, free: 5.418 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.909, allocations: 4 kB / 1.035 GB, free: 5.414 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.909, allocations: 0 / 1.035 GB, free: 5.414 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.9092, allocations: 65.61 kB / 1.035 GB, free: 5.371 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007138/0.9099, allocations: 0.5001 MB / 1.036 GB, free: 4.898 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.9101, allocations: 140.7 kB / 1.036 GB, free: 4.789 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.742e-05/0.9102, allocations: 48.03 kB / 1.036 GB, free: 4.754 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.9102, allocations: 0 / 1.036 GB, free: 4.754 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.9104, allocations: 105.1 kB / 1.036 GB, free: 4.656 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.9104, allocations: 0 / 1.036 GB, free: 4.656 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0003381/0.9108, allocations: 187.8 kB / 1.036 GB, free: 4.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.9108, allocations: 59.41 kB / 1.036 GB, free: 4.43 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004939/0.9113, allocations: 457.3 kB / 1.037 GB, free: 4.074 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.9114, allocations: 29.45 kB / 1.037 GB, free: 4.043 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.9115, allocations: 165.3 kB / 1.037 GB, free: 3.922 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.9115, allocations: 42.78 kB / 1.037 GB, free: 3.887 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.63e-05/0.9115, allocations: 3.625 kB / 1.037 GB, free: 3.887 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.9117, allocations: 344.5 kB / 1.037 GB, free: 3.555 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.9119, allocations: 113.1 kB / 1.038 GB, free: 3.477 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.912, allocations: 151.4 kB / 1.038 GB, free: 3.363 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.9122, allocations: 120.4 kB / 1.038 GB, free: 3.281 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.9122, allocations: 0 / 1.038 GB, free: 3.281 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004761/0.9127, allocations: 349.4 kB / 1.038 GB, free: 3.012 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.9127, allocations: 11.98 kB / 1.038 GB, free: 3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.9128, allocations: 4 kB / 1.038 GB, free: 2.996 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.9128, allocations: 0 / 1.038 GB, free: 2.996 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.913, allocations: 63.36 kB / 1.038 GB, free: 2.938 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.913, allocations: 4 kB / 1.038 GB, free: 2.934 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.9132, allocations: 15.22 kB / 1.038 GB, free: 2.922 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/0.9132, allocations: 19.05 kB / 1.038 GB, free: 2.906 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 9.373e-05/0.9133, allocations: 120 kB / 1.038 GB, free: 2.789 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-05/0.9134, allocations: 27.62 kB / 1.038 GB, free: 2.762 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003694/0.9138, allocations: 200.6 kB / 1.039 GB, free: 2.594 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.9138, allocations: 0 / 1.039 GB, free: 2.594 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.9138, allocations: 3.953 kB / 1.039 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.9138, allocations: 3.984 kB / 1.039 GB, free: 2.586 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.9141, allocations: 315.5 kB / 1.039 GB, free: 2.277 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.9141, allocations: 0 / 1.039 GB, free: 2.277 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.545e-05/0.9142, allocations: 15.98 kB / 1.039 GB, free: 2.262 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.9142, allocations: 0 / 1.039 GB, free: 2.262 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.9142, allocations: 4 kB / 1.039 GB, free: 2.258 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.9142, allocations: 0 / 1.039 GB, free: 2.258 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.9142, allocations: 0 / 1.039 GB, free: 2.258 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.9145, allocations: 227.7 kB / 1.039 GB, free: 2.055 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.819e-05/0.9146, allocations: 112.2 kB / 1.039 GB, free: 1.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.339e-05/0.9147, allocations: 11.36 kB / 1.039 GB, free: 1.922 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.9148, allocations: 7.5 kB / 1.039 GB, free: 1.918 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.338e-05/0.9149, allocations: 23.16 kB / 1.039 GB, free: 1.898 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.9149, allocations: 8 kB / 1.039 GB, free: 1.891 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003115/0.9152, allocations: 304.1 kB / 1.04 GB, free: 1.656 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9152, allocations: 4 kB / 1.04 GB, free: 1.652 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003078/0.9155, allocations: 78.16 kB / 1.04 GB, free: 1.582 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.0008754/0.9164, allocations: 375.2 kB / 1.04 GB, free: 1.309 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003063/0.9167, allocations: 186.6 kB / 1.04 GB, free: 1.176 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.9167, allocations: 0 / 1.04 GB, free: 1.176 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.9169, allocations: 74.3 kB / 1.04 GB, free: 1.125 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.9173, allocations: 90.05 kB / 1.04 GB, free: 1.051 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006956/0.918, allocations: 426.4 kB / 1.041 GB, free: 0.6758 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.9183, allocations: 0.7947 MB / 1.041 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001533/0.9185, allocations: 54.92 kB / 1.042 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.09e-05/0.9186, allocations: 27.42 kB / 1.042 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of SimCode: time 4.31e-07/0.9186, allocations: 0 / 1.042 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of Templates: time 0.007063/0.9257, allocations: 3.769 MB / 1.045 GB, free: 12.04 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