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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001339/0.001339, allocations: 110.5 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.001335/0.001336, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.308/1.308, 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 11.0.1-master/package.mo): time 2.45/2.45, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 63.91 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7364/0.7377, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003421/0.7412, allocations: 1.994 MB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002067/0.7433, allocations: 1.193 MB / 1.212 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.7435, allocations: 4 kB / 1.212 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004823/0.744, allocations: 163.4 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004201/0.7445, allocations: 155.4 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005845/0.7451, allocations: 238.4 kB / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004486/0.7455, allocations: 311.2 kB / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.7457, allocations: 44.39 kB / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002783/0.746, allocations: 147.4 kB / 1.213 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/0.7462, allocations: 151.4 kB / 1.213 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.632e-05/0.7463, allocations: 15.94 kB / 1.213 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.7464, allocations: 63.95 kB / 1.213 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.7465, allocations: 79.75 kB / 1.213 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.7467, allocations: 131.1 kB / 1.213 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004279/0.7471, allocations: 364.4 kB / 1.213 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.7471, allocations: 3.938 kB / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7471, allocations: 4 kB / 1.213 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.7472, allocations: 0 / 1.213 GB, free: 8.594 MB / 0.9356 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.001042/0.7482, allocations: 0.6224 MB / 1.214 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.7483, allocations: 8.031 kB / 1.214 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.7484, allocations: 36.5 kB / 1.214 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000548/0.7489, allocations: 374 kB / 1.214 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.749, allocations: 4 kB / 1.214 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.749, allocations: 12 kB / 1.214 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.7493, allocations: 109.5 kB / 1.214 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.7493, allocations: 0 / 1.214 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.7493, allocations: 4 kB / 1.214 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.7493, allocations: 3.984 kB / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.7495, allocations: 59.95 kB / 1.215 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008653/0.7504, allocations: 0.4886 MB / 1.215 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003327/0.7507, allocations: 142.6 kB / 1.215 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.7508, allocations: 44.84 kB / 1.215 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.7509, allocations: 7.984 kB / 1.215 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000232/0.7511, allocations: 115.3 kB / 1.215 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 2.024e-06/0.7511, allocations: 0 / 1.215 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0005626/0.7517, allocations: 221.3 kB / 1.216 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.7517, allocations: 55.41 kB / 1.216 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005621/0.7523, allocations: 0.5092 MB / 1.216 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.7523, allocations: 29.7 kB / 1.216 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.7525, allocations: 172.4 kB / 1.216 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.7525, allocations: 35.55 kB / 1.216 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.7526, allocations: 69.88 kB / 1.216 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.7528, allocations: 350.8 kB / 1.217 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.753, allocations: 100.5 kB / 1.217 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.7532, allocations: 131.6 kB / 1.217 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/0.7535, allocations: 192.3 kB / 1.217 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.7536, allocations: 0 / 1.217 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000563/0.7541, allocations: 317.2 kB / 1.217 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.7542, allocations: 9.812 kB / 1.217 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.7542, allocations: 0 / 1.217 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.7542, allocations: 4 kB / 1.217 GB, free: 4.176 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.7544, allocations: 51.91 kB / 1.217 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.7544, allocations: 4.062 kB / 1.217 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.7546, allocations: 23.83 kB / 1.217 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/0.7546, allocations: 12 kB / 1.218 GB, free: 4.086 MB / 0.9356 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.0001861/0.7548, allocations: 177.7 kB / 1.218 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.82e-05/0.7549, allocations: 43.47 kB / 1.218 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.883e-05/0.755, allocations: 31.12 kB / 1.218 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.755, allocations: 4 kB / 1.218 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.755, allocations: 0 / 1.218 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.755, allocations: 4 kB / 1.218 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.7553, allocations: 301.5 kB / 1.218 GB, free: 3.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.7553, allocations: 0 / 1.218 GB, free: 3.473 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.613e-05/0.7554, allocations: 15.92 kB / 1.218 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.7554, allocations: 7.938 kB / 1.218 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.7554, allocations: 4 kB / 1.218 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.7554, allocations: 0 / 1.218 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.7554, allocations: 0 / 1.218 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/0.7558, allocations: 212.6 kB / 1.218 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.689e-05/0.7559, allocations: 116.6 kB / 1.218 GB, free: 3.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.549e-05/0.7559, allocations: 11.88 kB / 1.218 GB, free: 3.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.277e-05/0.756, allocations: 3.984 kB / 1.218 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.588e-05/0.7561, allocations: 19.98 kB / 1.218 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.7561, allocations: 11.98 kB / 1.218 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003301/0.7565, allocations: 311.1 kB / 1.219 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.455e-06/0.7565, allocations: 0 / 1.219 GB, free: 2.738 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002974/0.7568, allocations: 63.92 kB / 1.219 GB, free: 2.676 MB / 0.9356 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.0009685/0.7578, allocations: 414.4 kB / 1.219 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004146/0.7582, allocations: 191.8 kB / 1.219 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7582, allocations: 0 / 1.219 GB, free: 2.234 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.7583, allocations: 55.91 kB / 1.219 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004741/0.7588, allocations: 90.67 kB / 1.219 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008131/0.7597, allocations: 0.5638 MB / 1.22 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.76, allocations: 0.7869 MB / 1.221 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.487e-05/0.7601, allocations: 43.36 kB / 1.221 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.7601, allocations: 0 / 1.221 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of Templates: time 0.00691/0.767, allocations: 4.409 MB / 1.225 GB, free: 12.26 MB / 0.9512 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches