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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 105.8 kB / 16.41 MB, free: 6.5 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.001913/0.001913, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.349/2.349, allocations: 390.2 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 63.89 kB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8463/0.8477, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003412/0.8512, allocations: 1.997 MB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001879/0.8531, allocations: 1.198 MB / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.8533, allocations: 6.156 kB / 1.092 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004751/0.8537, allocations: 155.8 kB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003797/0.8542, allocations: 156.9 kB / 1.092 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005756/0.8547, allocations: 229.1 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004378/0.8552, allocations: 308.6 kB / 1.093 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.8554, allocations: 44.03 kB / 1.093 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002549/0.8556, allocations: 160.6 kB / 1.093 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.8559, allocations: 152.6 kB / 1.093 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.827e-05/0.8559, allocations: 14.44 kB / 1.093 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.8561, allocations: 55.58 kB / 1.093 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.8562, allocations: 89.72 kB / 1.093 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.8563, allocations: 129.1 kB / 1.093 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004807/0.8568, allocations: 366.8 kB / 1.094 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8568, allocations: 0.9375 kB / 1.094 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8568, allocations: 0 / 1.094 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.8568, allocations: 0 / 1.094 GB, free: 2.488 MB / 0.8575 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.0009472/0.8578, allocations: 0.6227 MB / 1.094 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.8578, allocations: 9.281 kB / 1.094 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.08e-05/0.8579, allocations: 31.44 kB / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005186/0.8585, allocations: 380 kB / 1.095 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.8585, allocations: 3.938 kB / 1.095 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.8585, allocations: 10.67 kB / 1.095 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.8588, allocations: 102.5 kB / 1.095 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.8588, allocations: 4.594 kB / 1.095 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.8588, allocations: 12.62 kB / 1.095 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.8589, allocations: 2.219 kB / 1.095 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.859, allocations: 58.39 kB / 1.095 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007988/0.8599, allocations: 0.4908 MB / 1.095 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003534/0.8602, allocations: 140.2 kB / 1.095 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.8603, allocations: 50.72 kB / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.8604, allocations: 2.469 kB / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002491/0.8606, allocations: 109.4 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.8606, allocations: 0 / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.000569/0.8612, allocations: 226.3 kB / 1.096 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.8613, allocations: 57.2 kB / 1.096 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006694/0.8619, allocations: 0.509 MB / 1.096 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.862, allocations: 32.17 kB / 1.096 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.8621, allocations: 159.5 kB / 1.096 GB, free: 488 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.8621, allocations: 41.41 kB / 1.096 GB, free: 456 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.8623, allocations: 70.34 kB / 1.097 GB, free: 416 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.186e-05/0.8624, allocations: 353.5 kB / 1.097 GB, free: 76 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.8626, allocations: 100.2 kB / 1.097 GB, free: 44 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.8628, allocations: 132.2 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/0.8632, allocations: 194.8 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.8632, allocations: 0 / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000632/0.8639, allocations: 322.5 kB / 1.098 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.8639, allocations: 9.125 kB / 1.098 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.8639, allocations: 1.062 kB / 1.098 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.8639, allocations: 2.969 kB / 1.098 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.8642, allocations: 50.16 kB / 1.098 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.8642, allocations: 1.969 kB / 1.098 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.8643, allocations: 20.36 kB / 1.098 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/0.8644, allocations: 17.58 kB / 1.098 GB, free: 15.72 MB / 0.8731 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 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt2.y,reaToInt1.y,product.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002078/0.8646, allocations: 180 kB / 1.098 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.963e-05/0.8647, allocations: 35.31 kB / 1.098 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.811e-05/0.8647, allocations: 37.22 kB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.8648, allocations: 1.938 kB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.8648, allocations: 1.75 kB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.8648, allocations: 0.7031 kB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003357/0.8651, allocations: 294.2 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.8651, allocations: 1.625 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.4e-05/0.8652, allocations: 12.56 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.8652, allocations: 9.062 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.8652, allocations: 11.7 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.8652, allocations: 0.9688 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.8653, allocations: 0 / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003954/0.8657, allocations: 211.5 kB / 1.098 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.805e-05/0.8658, allocations: 112.8 kB / 1.099 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.578e-05/0.8658, allocations: 10.77 kB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.695e-05/0.8659, allocations: 10.7 kB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.273e-05/0.866, allocations: 20.09 kB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.866, allocations: 6.609 kB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003941/0.8664, allocations: 313.9 kB / 1.099 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8664, allocations: 1.469 kB / 1.099 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003308/0.8668, allocations: 56.78 kB / 1.099 GB, free: 14.88 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001041/0.8678, allocations: 423.8 kB / 1.099 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004789/0.8683, allocations: 197.8 kB / 1.1 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8683, allocations: 5.375 kB / 1.1 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.8685, allocations: 53.61 kB / 1.1 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005335/0.869, allocations: 89.34 kB / 1.1 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.8701, allocations: 0.5542 MB / 1.1 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/0.8706, allocations: 0.7858 MB / 1.101 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.8707, allocations: 39.03 kB / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of SimCode: time 5.11e-07/0.8707, allocations: 0.875 kB / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of Templates: time 0.01066/0.8814, allocations: 4.429 MB / 1.105 GB, free: 13 MB / 0.8731 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches