Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.863/2.863, allocations: 436.5 MB / 0.7104 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004394/0.0004395, allocations: 15.98 kB / 0.8708 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8533/0.8538, allocations: 153.6 MB / 1.021 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.002689/0.8565, allocations: 1.65 MB / 1.022 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002043/0.8586, allocations: 1.101 MB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.8588, allocations: 3.938 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004662/0.8593, allocations: 143.5 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.8596, allocations: 127.7 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004985/0.8601, allocations: 178.6 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002941/0.8604, allocations: 195.5 kB / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.8606, allocations: 40.38 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.8608, allocations: 123.5 kB / 1.024 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.861, allocations: 119.5 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.861, allocations: 12 kB / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.8611, allocations: 35.91 kB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.633e-05/0.8612, allocations: 83.72 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.751e-05/0.8613, allocations: 65.58 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002965/0.8616, allocations: 277.3 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.8616, allocations: 0 / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.915e-06/0.8616, allocations: 0 / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.331e-06/0.8616, allocations: 0 / 1.025 GB, free: 12.95 MB / 0.7794 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.0009376/0.8626, allocations: 0.5834 MB / 1.025 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.8626, allocations: 8.031 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.506e-05/0.8627, allocations: 35.62 kB / 1.025 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006321/0.8634, allocations: 353.3 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/0.8634, allocations: 11.94 kB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.8635, allocations: 7.953 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.8637, allocations: 108 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.8638, allocations: 3.938 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.8638, allocations: 4 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.8638, allocations: 4 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002486/0.8641, allocations: 63.95 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009577/0.865, allocations: 0.4886 MB / 1.026 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.8654, allocations: 130.8 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.8654, allocations: 11.92 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002529/0.8657, allocations: 107.3 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.8657, allocations: 3.938 kB / 1.027 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0005395/0.8662, allocations: 221.4 kB / 1.027 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.8663, allocations: 51.41 kB / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000583/0.8669, allocations: 0.5092 MB / 1.027 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.8669, allocations: 33.64 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.8671, allocations: 160.4 kB / 1.028 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.8671, allocations: 39.55 kB / 1.028 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.396e-05/0.8671, allocations: 4 kB / 1.028 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.8673, allocations: 350.8 kB / 1.028 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.8675, allocations: 104.5 kB / 1.028 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.8677, allocations: 132.1 kB / 1.028 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.8679, allocations: 99.98 kB / 1.028 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.8679, allocations: 0 / 1.028 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004883/0.8684, allocations: 322.1 kB / 1.029 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.8684, allocations: 12.06 kB / 1.029 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.8684, allocations: 0 / 1.029 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.8685, allocations: 0 / 1.029 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.8687, allocations: 59.91 kB / 1.029 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.8687, allocations: 4.219 kB / 1.029 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.8689, allocations: 19.83 kB / 1.029 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.013e-05/0.8689, allocations: 11.94 kB / 1.029 GB, free: 8.715 MB / 0.7794 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.y,reaToInt1.y,reaToInt2.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.0001771/0.8691, allocations: 195.2 kB / 1.029 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.8691, allocations: 31.62 kB / 1.029 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.853e-05/0.8692, allocations: 43.11 kB / 1.029 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.8692, allocations: 0 / 1.029 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.8692, allocations: 0 / 1.029 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.8692, allocations: 4 kB / 1.029 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.8695, allocations: 301.3 kB / 1.029 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.8695, allocations: 0 / 1.029 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.482e-05/0.8696, allocations: 12 kB / 1.029 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.8696, allocations: 0 / 1.029 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.8696, allocations: 7.984 kB / 1.029 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.8696, allocations: 7.938 kB / 1.029 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8696, allocations: 0 / 1.029 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003341/0.87, allocations: 203.4 kB / 1.03 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.8701, allocations: 116.7 kB / 1.03 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.14e-05/0.8701, allocations: 4 kB / 1.03 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.191e-05/0.8702, allocations: 7.984 kB / 1.03 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.8703, allocations: 19.97 kB / 1.03 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.8703, allocations: 12 kB / 1.03 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003158/0.8707, allocations: 315.1 kB / 1.03 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8707, allocations: 0 / 1.03 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002935/0.871, allocations: 71.77 kB / 1.03 GB, free: 7.301 MB / 0.7794 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.y,reaToInt1.y,reaToInt2.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001064/0.872, allocations: 415.1 kB / 1.03 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004238/0.8725, allocations: 188.4 kB / 1.031 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.8725, allocations: 4.062 kB / 1.031 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.8726, allocations: 63.91 kB / 1.031 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.8731, allocations: 78.05 kB / 1.031 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008967/0.874, allocations: 0.5851 MB / 1.031 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.8743, allocations: 0.7947 MB / 1.032 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001443/0.8745, allocations: 58.92 kB / 1.032 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.798e-05/0.8745, allocations: 35.42 kB / 1.032 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of SimCode: time 4.91e-07/0.8746, allocations: 4 kB / 1.032 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of Templates: time 0.007788/0.8823, allocations: 3.718 MB / 1.036 GB, free: 1.512 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches