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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 102.1 kB / 19.7 MB, free: 2.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 219.7 kB / 23.01 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.348/3.348, allocations: 0.505 GB / 0.8108 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|product.u1|product.u2|product.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 67.98 kB / 1.178 GB, free: 16.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3632, allocations: 180.2 MB / 1.354 GB, free: 7.941 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003707/0.3669, allocations: 2.053 MB / 1.356 GB, free: 5.875 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002738/0.3696, allocations: 1.369 MB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001585/0.3698, allocations: 7.938 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004583/0.3702, allocations: 163.4 kB / 1.358 GB, free: 4.336 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005308/0.3708, allocations: 207.2 kB / 1.358 GB, free: 4.133 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.3712, allocations: 163.6 kB / 1.358 GB, free: 3.973 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005752/0.3717, allocations: 335.1 kB / 1.358 GB, free: 3.645 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.3719, allocations: 36.86 kB / 1.358 GB, free: 3.609 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002984/0.3722, allocations: 163.3 kB / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002623/0.3725, allocations: 175.3 kB / 1.359 GB, free: 3.277 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.484e-05/0.3725, allocations: 12 kB / 1.359 GB, free: 3.266 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.3726, allocations: 59.97 kB / 1.359 GB, free: 3.207 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.3728, allocations: 95.67 kB / 1.359 GB, free: 3.113 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.3729, allocations: 131.1 kB / 1.359 GB, free: 2.984 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005196/0.3734, allocations: 378.3 kB / 1.359 GB, free: 2.613 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3734, allocations: 4 kB / 1.359 GB, free: 2.609 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3734, allocations: 0 / 1.359 GB, free: 2.609 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.3735, allocations: 0 / 1.359 GB, free: 2.609 MB / 1.045 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.001136/0.3746, allocations: 0.5702 MB / 1.36 GB, free: 2.008 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3746, allocations: 12.03 kB / 1.36 GB, free: 1.996 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.966e-05/0.3747, allocations: 40.66 kB / 1.36 GB, free: 1.957 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006429/0.3754, allocations: 316.5 kB / 1.36 GB, free: 1.625 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.3754, allocations: 4 kB / 1.36 GB, free: 1.621 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.3754, allocations: 12 kB / 1.36 GB, free: 1.609 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.3757, allocations: 111.5 kB / 1.36 GB, free: 1.496 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3757, allocations: 0 / 1.36 GB, free: 1.496 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.3757, allocations: 12 kB / 1.36 GB, free: 1.484 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.3757, allocations: 0 / 1.36 GB, free: 1.484 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.3759, allocations: 59.95 kB / 1.36 GB, free: 1.426 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008632/0.3768, allocations: 475.5 kB / 1.361 GB, free: 0.918 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003511/0.3771, allocations: 130.7 kB / 1.361 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.3772, allocations: 52.77 kB / 1.361 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.3773, allocations: 0 / 1.361 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002467/0.3775, allocations: 114.7 kB / 1.361 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.3775, allocations: 0 / 1.361 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0005808/0.3781, allocations: 233.3 kB / 1.361 GB, free: 380 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.3781, allocations: 59.33 kB / 1.361 GB, free: 308 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006647/0.3788, allocations: 0.525 MB / 1.362 GB, free: 15.76 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.3788, allocations: 25.7 kB / 1.362 GB, free: 15.73 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.379, allocations: 180.3 kB / 1.362 GB, free: 15.55 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/0.379, allocations: 27.81 kB / 1.362 GB, free: 15.53 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.3792, allocations: 73.91 kB / 1.362 GB, free: 15.45 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.3793, allocations: 354.8 kB / 1.363 GB, free: 15.09 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.3795, allocations: 104.5 kB / 1.363 GB, free: 14.99 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.3798, allocations: 135.6 kB / 1.363 GB, free: 14.85 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.3801, allocations: 175 kB / 1.363 GB, free: 14.67 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3801, allocations: 0 / 1.363 GB, free: 14.67 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005822/0.3807, allocations: 341.8 kB / 1.363 GB, free: 14.33 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.3807, allocations: 11.94 kB / 1.363 GB, free: 14.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3807, allocations: 0 / 1.363 GB, free: 14.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.3808, allocations: 3.938 kB / 1.363 GB, free: 14.31 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.381, allocations: 47.97 kB / 1.363 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.381, allocations: 4 kB / 1.363 GB, free: 14.26 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.3811, allocations: 15.89 kB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/0.3812, allocations: 19.92 kB / 1.363 GB, free: 14.23 MB / 1.061 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.0002/0.3814, allocations: 190.4 kB / 1.364 GB, free: 14.03 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.45e-05/0.3814, allocations: 39.7 kB / 1.364 GB, free: 13.99 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004248/0.3819, allocations: 200.7 kB / 1.364 GB, free: 13.79 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3819, allocations: 0 / 1.364 GB, free: 13.79 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3819, allocations: 4 kB / 1.364 GB, free: 13.79 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3819, allocations: 0 / 1.364 GB, free: 13.79 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003059/0.3822, allocations: 284.5 kB / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3822, allocations: 0 / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.674e-05/0.3822, allocations: 19.98 kB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.3823, allocations: 3.938 kB / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.3823, allocations: 0 / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.3823, allocations: 4 kB / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3823, allocations: 0 / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003826/0.3827, allocations: 210.9 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.774e-05/0.3827, allocations: 35.81 kB / 1.364 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.442e-05/0.3828, allocations: 11.94 kB / 1.364 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.3829, allocations: 7.984 kB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.214e-05/0.383, allocations: 19.97 kB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.383, allocations: 4 kB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003801/0.3834, allocations: 323.1 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3834, allocations: 0 / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003139/0.3837, allocations: 67.88 kB / 1.365 GB, free: 12.75 MB / 1.061 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 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * 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.001598/0.3853, allocations: 428 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000433/0.3857, allocations: 187.8 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3857, allocations: 0 / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.3858, allocations: 47.97 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/0.3863, allocations: 86.06 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009888/0.3873, allocations: 0.5944 MB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/0.3877, allocations: 0.7986 MB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.3878, allocations: 35.42 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of SimCode: time 3.51e-07/0.3878, allocations: 0 / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of Templates: time 0.007862/0.3957, allocations: 4.581 MB / 1.371 GB, free: 6.121 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.175846591999289]