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.00136/0.00136, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001519/0.001519, allocations: 212.1 kB / 22.99 MB, free: 4.941 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.291/3.291, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 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.00192/0.00192, allocations: 67.34 kB / 1.187 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3543, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003672/0.358, allocations: 1.973 MB / 1.367 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00246/0.3604, allocations: 1.28 MB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.698e-05/0.3605, allocations: 4 kB / 1.368 GB, free: 10.31 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003602/0.3609, allocations: 167.4 kB / 1.368 GB, free: 10.15 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004557/0.3614, allocations: 203.2 kB / 1.368 GB, free: 9.949 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.3617, allocations: 163.6 kB / 1.368 GB, free: 9.789 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000398/0.3621, allocations: 343 kB / 1.369 GB, free: 9.453 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.3622, allocations: 40.84 kB / 1.369 GB, free: 9.406 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.3624, allocations: 147.4 kB / 1.369 GB, free: 9.262 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.3627, allocations: 163.3 kB / 1.369 GB, free: 9.102 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.524e-05/0.3627, allocations: 16 kB / 1.369 GB, free: 9.086 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.3628, allocations: 59.98 kB / 1.369 GB, free: 9.027 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.363, allocations: 91.72 kB / 1.369 GB, free: 8.938 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.3631, allocations: 99.27 kB / 1.369 GB, free: 8.84 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004671/0.3635, allocations: 386.3 kB / 1.37 GB, free: 8.461 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3635, allocations: 0 / 1.37 GB, free: 8.461 MB / 1.061 GB Notification: Performance of FrontEnd: time 8.01e-07/0.3635, allocations: 3.938 kB / 1.37 GB, free: 8.457 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3635, allocations: 4 kB / 1.37 GB, free: 8.453 MB / 1.061 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.0009884/0.3645, allocations: 0.5702 MB / 1.37 GB, free: 7.852 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.3646, allocations: 8.031 kB / 1.37 GB, free: 7.844 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.941e-05/0.3646, allocations: 36.7 kB / 1.37 GB, free: 7.809 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005281/0.3652, allocations: 324.5 kB / 1.371 GB, free: 7.473 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.3652, allocations: 8 kB / 1.371 GB, free: 7.465 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.3652, allocations: 4 kB / 1.371 GB, free: 7.461 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.3655, allocations: 113.5 kB / 1.371 GB, free: 7.344 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.3655, allocations: 4 kB / 1.371 GB, free: 7.34 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.3655, allocations: 7.938 kB / 1.371 GB, free: 7.332 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3655, allocations: 3.984 kB / 1.371 GB, free: 7.328 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.3657, allocations: 71.89 kB / 1.371 GB, free: 7.258 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007786/0.3664, allocations: 420.2 kB / 1.371 GB, free: 6.816 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000351/0.3668, allocations: 134.7 kB / 1.371 GB, free: 6.676 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.3669, allocations: 52.83 kB / 1.371 GB, free: 6.621 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.3669, allocations: 4 kB / 1.371 GB, free: 6.617 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002347/0.3672, allocations: 111.3 kB / 1.371 GB, free: 6.496 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.3672, allocations: 0 / 1.371 GB, free: 6.496 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.000547/0.3677, allocations: 237.2 kB / 1.372 GB, free: 6.258 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/0.3678, allocations: 55.41 kB / 1.372 GB, free: 6.191 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007167/0.3685, allocations: 0.5366 MB / 1.372 GB, free: 5.645 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.3685, allocations: 25.7 kB / 1.372 GB, free: 5.613 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.3687, allocations: 176.5 kB / 1.372 GB, free: 5.438 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.257e-05/0.3687, allocations: 39.7 kB / 1.372 GB, free: 5.398 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.3688, allocations: 69.95 kB / 1.373 GB, free: 5.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.369, allocations: 350.8 kB / 1.373 GB, free: 4.969 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.3692, allocations: 104.5 kB / 1.373 GB, free: 4.867 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.3695, allocations: 135.6 kB / 1.373 GB, free: 4.727 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/0.3698, allocations: 195.5 kB / 1.373 GB, free: 4.527 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3698, allocations: 3.938 kB / 1.373 GB, free: 4.523 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005814/0.3704, allocations: 341.3 kB / 1.374 GB, free: 4.184 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.3704, allocations: 4 kB / 1.374 GB, free: 4.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.3704, allocations: 0 / 1.374 GB, free: 4.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3704, allocations: 7.938 kB / 1.374 GB, free: 4.172 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.3707, allocations: 51.91 kB / 1.374 GB, free: 4.121 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.3707, allocations: 3.984 kB / 1.374 GB, free: 4.117 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.3708, allocations: 15.95 kB / 1.374 GB, free: 4.102 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.3709, allocations: 15.98 kB / 1.374 GB, free: 4.086 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.0001955/0.371, allocations: 186.8 kB / 1.374 GB, free: 3.895 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.352e-05/0.3711, allocations: 39.77 kB / 1.374 GB, free: 3.855 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004436/0.3715, allocations: 208.7 kB / 1.374 GB, free: 3.648 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3715, allocations: 4 kB / 1.374 GB, free: 3.645 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.3716, allocations: 0 / 1.374 GB, free: 3.645 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3716, allocations: 7.922 kB / 1.374 GB, free: 3.637 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/0.3718, allocations: 233.1 kB / 1.374 GB, free: 3.379 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3718, allocations: 0 / 1.374 GB, free: 3.379 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.594e-05/0.3719, allocations: 15.98 kB / 1.374 GB, free: 3.363 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.3719, allocations: 4 kB / 1.374 GB, free: 3.359 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.3719, allocations: 8 kB / 1.374 GB, free: 3.352 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.3719, allocations: 3.938 kB / 1.374 GB, free: 3.348 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3719, allocations: 0 / 1.374 GB, free: 3.348 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004467/0.3724, allocations: 227.2 kB / 1.375 GB, free: 3.109 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.635e-05/0.3725, allocations: 43.75 kB / 1.375 GB, free: 3.066 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.987e-05/0.3725, allocations: 4 kB / 1.375 GB, free: 3.062 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.3726, allocations: 15.86 kB / 1.375 GB, free: 3.047 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.3727, allocations: 19.97 kB / 1.375 GB, free: 3.027 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.3727, allocations: 8 kB / 1.375 GB, free: 3.02 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003895/0.3731, allocations: 327.1 kB / 1.375 GB, free: 2.699 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3731, allocations: 4 kB / 1.375 GB, free: 2.695 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002883/0.3733, allocations: 59.92 kB / 1.375 GB, free: 2.637 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 (15): * Single equations (assignments): 11 * 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.001655/0.375, allocations: 450.7 kB / 1.375 GB, free: 2.371 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004627/0.3755, allocations: 187.8 kB / 1.376 GB, free: 2.188 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.3755, allocations: 0 / 1.376 GB, free: 2.188 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.3756, allocations: 66.58 kB / 1.376 GB, free: 2.125 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.3761, allocations: 96.16 kB / 1.376 GB, free: 2.039 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009225/0.377, allocations: 0.5954 MB / 1.376 GB, free: 1.41 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.3772, allocations: 191.8 kB / 1.377 GB, free: 1.203 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.3773, allocations: 35.36 kB / 1.377 GB, free: 1.168 MB / 1.061 GB Notification: Performance of SimCode: time 4.51e-07/0.3773, allocations: 4 kB / 1.377 GB, free: 1.164 MB / 1.061 GB Notification: Performance of Templates: time 0.007772/0.3851, allocations: 4.74 MB / 1.381 GB, free: 12.43 MB / 1.076 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.086946214083582]