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.007535/0.007534, allocations: 100.9 kB / 15.73 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.001384/0.001384, allocations: 196.5 kB / 16.68 MB, free: 6.375 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.497/1.497, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.917/2.917, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 67.89 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4496/0.4509, allocations: 157.4 MB / 1.208 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.004121/0.4551, allocations: 1.997 MB / 1.21 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002172/0.4573, allocations: 1.181 MB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.4575, allocations: 7.938 kB / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004688/0.4579, allocations: 171.4 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003701/0.4583, allocations: 151.4 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005713/0.4589, allocations: 223.6 kB / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000422/0.4594, allocations: 315.2 kB / 1.212 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/0.4596, allocations: 48.38 kB / 1.212 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002461/0.4598, allocations: 147.4 kB / 1.212 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.4601, allocations: 151.4 kB / 1.212 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.936e-05/0.4601, allocations: 16 kB / 1.212 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.4603, allocations: 59.95 kB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.4604, allocations: 87.69 kB / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.4606, allocations: 127.1 kB / 1.212 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005029/0.4611, allocations: 378.6 kB / 1.213 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.4611, allocations: 0 / 1.213 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4611, allocations: 0 / 1.213 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.4611, allocations: 0 / 1.213 GB, free: 4.605 MB / 0.9669 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.001144/0.4623, allocations: 0.6146 MB / 1.213 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.4623, allocations: 8.031 kB / 1.213 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.446e-05/0.4624, allocations: 36.56 kB / 1.213 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005452/0.463, allocations: 385.9 kB / 1.214 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.463, allocations: 8 kB / 1.214 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.463, allocations: 8 kB / 1.214 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.4633, allocations: 105.6 kB / 1.214 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.4633, allocations: 3.984 kB / 1.214 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.4633, allocations: 4 kB / 1.214 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.4633, allocations: 0 / 1.214 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.4635, allocations: 63.86 kB / 1.214 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008505/0.4644, allocations: 0.4925 MB / 1.214 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.4647, allocations: 134.7 kB / 1.214 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.4649, allocations: 48.84 kB / 1.215 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.359e-05/0.4649, allocations: 4 kB / 1.215 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002514/0.4652, allocations: 111.3 kB / 1.215 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.4652, allocations: 4 kB / 1.215 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0005648/0.4658, allocations: 227.5 kB / 1.215 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.4658, allocations: 51.41 kB / 1.215 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006009/0.4664, allocations: 0.5054 MB / 1.215 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.4665, allocations: 37.69 kB / 1.215 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.4666, allocations: 164.4 kB / 1.216 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.4666, allocations: 35.62 kB / 1.216 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.4668, allocations: 73.88 kB / 1.216 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.4669, allocations: 342.8 kB / 1.216 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.4672, allocations: 100.5 kB / 1.216 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.4674, allocations: 131.6 kB / 1.216 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.4678, allocations: 192.2 kB / 1.216 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.4678, allocations: 0 / 1.216 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005698/0.4684, allocations: 321.1 kB / 1.217 GB, free: 212 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.4684, allocations: 13.5 kB / 1.217 GB, free: 200 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.4684, allocations: 0 / 1.217 GB, free: 200 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.4684, allocations: 8.062 kB / 1.217 GB, free: 192 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.4687, allocations: 47.91 kB / 1.217 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.4687, allocations: 4 kB / 1.217 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.4688, allocations: 19.86 kB / 1.217 GB, free: 120 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.4689, allocations: 12 kB / 1.217 GB, free: 108 kB / 0.9669 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.0002567/0.4691, allocations: 181.8 kB / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.934e-05/0.4692, allocations: 35.47 kB / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.937e-05/0.4693, allocations: 39.11 kB / 1.217 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.4693, allocations: 4 kB / 1.217 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.4693, allocations: 0 / 1.217 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4693, allocations: 7.938 kB / 1.217 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/0.4696, allocations: 297.3 kB / 1.217 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4696, allocations: 4 kB / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.334e-05/0.4697, allocations: 16 kB / 1.217 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.4697, allocations: 3.938 kB / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.4697, allocations: 7.984 kB / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4697, allocations: 0 / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4697, allocations: 0 / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003866/0.4701, allocations: 212.5 kB / 1.218 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.4703, allocations: 116.7 kB / 1.218 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/0.4703, allocations: 3.938 kB / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.158e-05/0.4704, allocations: 11.98 kB / 1.218 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.692e-05/0.4705, allocations: 15.98 kB / 1.218 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.4705, allocations: 7.984 kB / 1.218 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003496/0.4709, allocations: 311.1 kB / 1.218 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4709, allocations: 4 kB / 1.218 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002944/0.4712, allocations: 55.98 kB / 1.218 GB, free: 14.7 MB / 0.9825 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.00113/0.4723, allocations: 423.2 kB / 1.218 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004477/0.4728, allocations: 195.8 kB / 1.219 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.4728, allocations: 0 / 1.219 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.4729, allocations: 63.34 kB / 1.219 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005351/0.4735, allocations: 98.88 kB / 1.219 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.4746, allocations: 0.5237 MB / 1.219 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/0.4751, allocations: 0.7908 MB / 1.22 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001457/0.4752, allocations: 50.94 kB / 1.22 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.469e-05/0.4753, allocations: 39.42 kB / 1.22 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.4754, allocations: 4 kB / 1.22 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of Templates: time 0.009312/0.4847, allocations: 4.087 MB / 1.224 GB, free: 8.586 MB / 0.9825 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/jenkins/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