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.001323/0.001323, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.001441/0.001441, allocations: 222 kB / 23 MB, free: 4.918 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.152/3.152, allocations: 0.4892 GB / 0.7951 GB, free: 35.53 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.002445/0.002445, allocations: 72.11 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3488, allocations: 176.1 MB / 1.326 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003639/0.3524, allocations: 1.978 MB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002402/0.3548, allocations: 1.281 MB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.3549, allocations: 7.938 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004355/0.3554, allocations: 163.4 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004885/0.3558, allocations: 215.2 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.3562, allocations: 159.6 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004296/0.3566, allocations: 343 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.3568, allocations: 28.86 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002341/0.357, allocations: 155.3 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002551/0.3573, allocations: 159.4 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.858e-05/0.3573, allocations: 16 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.3575, allocations: 63.91 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.3576, allocations: 87.73 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.3577, allocations: 107.3 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005018/0.3582, allocations: 390.3 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3582, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3582, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.3582, allocations: 0 / 1.331 GB, free: 12.68 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.001069/0.3593, allocations: 0.5702 MB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.3593, allocations: 8.031 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.19e-05/0.3594, allocations: 36.7 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005704/0.36, allocations: 320.5 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.36, allocations: 15.89 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.36, allocations: 8 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.3603, allocations: 111.6 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3603, allocations: 0 / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.3603, allocations: 7.938 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.3603, allocations: 0 / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.3605, allocations: 63.95 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008663/0.3614, allocations: 428.1 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/0.3617, allocations: 134.8 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.3619, allocations: 52.7 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.3619, allocations: 8 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002454/0.3621, allocations: 111.3 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.3621, allocations: 0 / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005903/0.3627, allocations: 237.3 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.3628, allocations: 55.34 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007/0.3635, allocations: 0.5366 MB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.3635, allocations: 33.69 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.3637, allocations: 172.5 kB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.23e-05/0.3637, allocations: 31.73 kB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.3638, allocations: 73.92 kB / 1.334 GB, free: 9.539 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.364, allocations: 350.8 kB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.3642, allocations: 104.5 kB / 1.335 GB, free: 9.086 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/0.3645, allocations: 139.6 kB / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003874/0.3649, allocations: 191 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3649, allocations: 3.938 kB / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006054/0.3655, allocations: 337.3 kB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3655, allocations: 4 kB / 1.335 GB, free: 8.402 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.3655, allocations: 3.984 kB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.3655, allocations: 7.938 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.3658, allocations: 51.91 kB / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3658, allocations: 0 / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.3659, allocations: 12.02 kB / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/0.3659, allocations: 23.98 kB / 1.335 GB, free: 8.305 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.000203/0.3661, allocations: 185 kB / 1.336 GB, free: 8.117 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.371e-05/0.3662, allocations: 35.77 kB / 1.336 GB, free: 8.082 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004607/0.3667, allocations: 212.7 kB / 1.336 GB, free: 7.867 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.3667, allocations: 4 kB / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3667, allocations: 0 / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3667, allocations: 0 / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.367, allocations: 237.1 kB / 1.336 GB, free: 7.602 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.367, allocations: 4 kB / 1.336 GB, free: 7.598 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.293e-05/0.3671, allocations: 19.92 kB / 1.336 GB, free: 7.578 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.3671, allocations: 0 / 1.336 GB, free: 7.578 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.3671, allocations: 11.98 kB / 1.336 GB, free: 7.566 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3671, allocations: 3.938 kB / 1.336 GB, free: 7.562 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3671, allocations: 0 / 1.336 GB, free: 7.562 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004219/0.3675, allocations: 227 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-05/0.3676, allocations: 39.8 kB / 1.336 GB, free: 7.285 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.143e-05/0.3676, allocations: 0 / 1.336 GB, free: 7.285 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.3677, allocations: 15.92 kB / 1.336 GB, free: 7.27 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.916e-05/0.3678, allocations: 19.98 kB / 1.336 GB, free: 7.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.3678, allocations: 11.92 kB / 1.336 GB, free: 7.238 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004007/0.3682, allocations: 327.1 kB / 1.337 GB, free: 6.922 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3682, allocations: 0 / 1.337 GB, free: 6.922 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003239/0.3686, allocations: 67.88 kB / 1.337 GB, free: 6.855 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 (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.001724/0.3703, allocations: 452.5 kB / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004717/0.3708, allocations: 191.9 kB / 1.337 GB, free: 6.402 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3708, allocations: 0 / 1.337 GB, free: 6.402 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.3709, allocations: 63.91 kB / 1.337 GB, free: 6.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004741/0.3714, allocations: 93.39 kB / 1.337 GB, free: 6.258 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.3724, allocations: 0.5993 MB / 1.338 GB, free: 5.625 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.3726, allocations: 183.9 kB / 1.338 GB, free: 5.422 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.765e-05/0.3727, allocations: 39.42 kB / 1.338 GB, free: 5.387 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.3727, allocations: 0 / 1.338 GB, free: 5.387 MB / 1.029 GB Notification: Performance of Templates: time 0.008301/0.381, allocations: 4.75 MB / 1.343 GB, free: 0.6484 MB / 1.029 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.74829719401896]