Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001779/0.001779, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002353/0.002353, allocations: 217.9 kB / 23.01 MB, free: 4.602 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.12/3.12, allocations: 0.49 GB / 0.7958 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002026/0.002026, allocations: 70.88 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3535, allocations: 176.1 MB / 1.327 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003799/0.3573, allocations: 2.052 MB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002526/0.3598, allocations: 1.366 MB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.3599, allocations: 7.875 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004817/0.3604, allocations: 171.4 kB / 1.331 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004957/0.3609, allocations: 199.2 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003942/0.3613, allocations: 163.6 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000436/0.3618, allocations: 335.1 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.3619, allocations: 36.84 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.3622, allocations: 171.4 kB / 1.332 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.3624, allocations: 167.3 kB / 1.332 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.668e-05/0.3625, allocations: 16 kB / 1.332 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.3626, allocations: 55.98 kB / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.3628, allocations: 99.59 kB / 1.332 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.3629, allocations: 131.1 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005037/0.3634, allocations: 374.3 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3634, allocations: 0 / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3634, allocations: 0 / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.3634, allocations: 3.938 kB / 1.332 GB, free: 12.15 MB / 1.029 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.001075/0.3645, allocations: 0.5702 MB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.3645, allocations: 8.031 kB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.213e-05/0.3646, allocations: 36.7 kB / 1.333 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005697/0.3652, allocations: 328.4 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.3652, allocations: 8 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.3652, allocations: 8 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.3655, allocations: 107.4 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3655, allocations: 4 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.3655, allocations: 7.984 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.3656, allocations: 4 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.3657, allocations: 55.97 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008954/0.3666, allocations: 475.4 kB / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003694/0.367, allocations: 130.8 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.3671, allocations: 48.77 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.3671, allocations: 4 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002567/0.3674, allocations: 107.3 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.3674, allocations: 4 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005743/0.368, allocations: 229.2 kB / 1.334 GB, free: 9.918 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.368, allocations: 63.34 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006704/0.3687, allocations: 0.521 MB / 1.335 GB, free: 9.312 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.3687, allocations: 33.7 kB / 1.335 GB, free: 9.273 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.3689, allocations: 172.4 kB / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.314e-05/0.3689, allocations: 35.8 kB / 1.335 GB, free: 9.062 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.3691, allocations: 73.91 kB / 1.335 GB, free: 8.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.3692, allocations: 350.8 kB / 1.336 GB, free: 8.629 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.3694, allocations: 108.5 kB / 1.336 GB, free: 8.523 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.3697, allocations: 131.6 kB / 1.336 GB, free: 8.387 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003588/0.37, allocations: 187 kB / 1.336 GB, free: 8.195 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.37, allocations: 0 / 1.336 GB, free: 8.195 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006049/0.3706, allocations: 325.3 kB / 1.336 GB, free: 7.871 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.3707, allocations: 11.92 kB / 1.336 GB, free: 7.859 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3707, allocations: 4 kB / 1.336 GB, free: 7.855 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.3707, allocations: 3.938 kB / 1.336 GB, free: 7.852 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.3709, allocations: 55.91 kB / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.371, allocations: 0 / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.3711, allocations: 19.89 kB / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.3711, allocations: 20.05 kB / 1.336 GB, free: 7.758 MB / 1.029 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.0001992/0.3713, allocations: 178.5 kB / 1.337 GB, free: 7.574 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.534e-05/0.3714, allocations: 39.7 kB / 1.337 GB, free: 7.535 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004332/0.3718, allocations: 194.8 kB / 1.337 GB, free: 7.34 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.3718, allocations: 0 / 1.337 GB, free: 7.34 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3718, allocations: 3.984 kB / 1.337 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3718, allocations: 3.984 kB / 1.337 GB, free: 7.332 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003084/0.3721, allocations: 284.5 kB / 1.337 GB, free: 7.012 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3721, allocations: 0 / 1.337 GB, free: 7.012 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.367e-05/0.3722, allocations: 8 kB / 1.337 GB, free: 7.004 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.3722, allocations: 7.938 kB / 1.337 GB, free: 6.996 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.3722, allocations: 7.922 kB / 1.337 GB, free: 6.988 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3722, allocations: 0 / 1.337 GB, free: 6.988 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3722, allocations: 0 / 1.337 GB, free: 6.988 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003989/0.3726, allocations: 204.8 kB / 1.337 GB, free: 6.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.528e-05/0.3727, allocations: 43.75 kB / 1.337 GB, free: 6.727 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.578e-05/0.3728, allocations: 7.938 kB / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.3729, allocations: 11.98 kB / 1.337 GB, free: 6.707 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.795e-05/0.3729, allocations: 15.97 kB / 1.337 GB, free: 6.691 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.373, allocations: 12 kB / 1.337 GB, free: 6.68 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004072/0.3734, allocations: 323.1 kB / 1.338 GB, free: 6.367 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3734, allocations: 0 / 1.338 GB, free: 6.367 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003156/0.3737, allocations: 63.88 kB / 1.338 GB, free: 6.305 MB / 1.029 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.001684/0.3754, allocations: 432.6 kB / 1.338 GB, free: 6.031 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000459/0.3758, allocations: 179.8 kB / 1.338 GB, free: 5.855 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3758, allocations: 0 / 1.338 GB, free: 5.855 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.376, allocations: 51.92 kB / 1.338 GB, free: 5.805 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004872/0.3764, allocations: 99.78 kB / 1.338 GB, free: 5.719 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.3775, allocations: 0.5877 MB / 1.339 GB, free: 5.098 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.3779, allocations: 0.7869 MB / 1.34 GB, free: 4.285 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.378, allocations: 39.42 kB / 1.34 GB, free: 4.25 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/0.378, allocations: 4 kB / 1.34 GB, free: 4.246 MB / 1.029 GB Notification: Performance of Templates: time 0.007468/0.3855, allocations: 4.574 MB / 1.344 GB, free: 15.68 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.776559120015008]