Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001786/0.001786, 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.002205/0.002205, allocations: 213.6 kB / 22.99 MB, free: 4.945 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.468/1.468, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.757/2.757, allocations: 476 MB / 0.7707 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002158/0.002158, allocations: 71.12 kB / 1.118 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2887, allocations: 170 MB / 1.284 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003534/0.2922, allocations: 1.971 MB / 1.286 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002402/0.2946, allocations: 1.281 MB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.2947, allocations: 7.938 kB / 1.287 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004152/0.2951, allocations: 159.4 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004837/0.2956, allocations: 211.2 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.296, allocations: 167.5 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004107/0.2964, allocations: 335.1 kB / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.2965, allocations: 32.86 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.2967, allocations: 151.4 kB / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.297, allocations: 163.3 kB / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.015e-05/0.297, allocations: 16 kB / 1.288 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.2972, allocations: 55.97 kB / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.2973, allocations: 103.6 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.2974, allocations: 95.34 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004814/0.2979, allocations: 394.2 kB / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2979, allocations: 8 kB / 1.289 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2979, allocations: 0 / 1.289 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.2979, allocations: 0 / 1.289 GB, free: 6.805 MB / 0.9825 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.001025/0.2989, allocations: 0.5663 MB / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.299, allocations: 8.031 kB / 1.289 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.983e-05/0.2991, allocations: 40.7 kB / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000538/0.2996, allocations: 320.5 kB / 1.29 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.2996, allocations: 11.98 kB / 1.29 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.2997, allocations: 8 kB / 1.29 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.2999, allocations: 109.5 kB / 1.29 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2999, allocations: 0 / 1.29 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.3, allocations: 11.98 kB / 1.29 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.3, allocations: 0 / 1.29 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.3001, allocations: 63.95 kB / 1.29 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008285/0.301, allocations: 428.1 kB / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000362/0.3013, allocations: 134.8 kB / 1.29 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.3015, allocations: 44.83 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.3015, allocations: 7.938 kB / 1.29 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002448/0.3017, allocations: 111.3 kB / 1.291 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.3017, allocations: 0 / 1.291 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005805/0.3023, allocations: 243.2 kB / 1.291 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.3024, allocations: 55.41 kB / 1.291 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00069/0.3031, allocations: 0.5366 MB / 1.291 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.3031, allocations: 29.7 kB / 1.291 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.3032, allocations: 172.4 kB / 1.292 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.649e-05/0.3033, allocations: 39.72 kB / 1.292 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.3034, allocations: 69.92 kB / 1.292 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002078/0.3036, allocations: 350.8 kB / 1.292 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.3038, allocations: 112.4 kB / 1.292 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.3041, allocations: 131.6 kB / 1.292 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000378/0.3044, allocations: 200.3 kB / 1.292 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3044, allocations: 0 / 1.292 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005979/0.305, allocations: 325.3 kB / 1.293 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.3051, allocations: 10.5 kB / 1.293 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3051, allocations: 0 / 1.293 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.3051, allocations: 11.92 kB / 1.293 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.3053, allocations: 47.92 kB / 1.293 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.3053, allocations: 7.984 kB / 1.293 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.3055, allocations: 16.02 kB / 1.293 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.3055, allocations: 11.98 kB / 1.293 GB, free: 2.441 MB / 0.9825 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.000202/0.3057, allocations: 189.7 kB / 1.293 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.612e-05/0.3058, allocations: 35.77 kB / 1.293 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000477/0.3063, allocations: 212.7 kB / 1.293 GB, free: 2 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3063, allocations: 7.938 kB / 1.293 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3063, allocations: 4 kB / 1.293 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3063, allocations: 0 / 1.293 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/0.3066, allocations: 237.1 kB / 1.294 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3066, allocations: 0 / 1.294 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.766e-05/0.3066, allocations: 12 kB / 1.294 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.3067, allocations: 3.984 kB / 1.294 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.3067, allocations: 4 kB / 1.294 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.3067, allocations: 3.938 kB / 1.294 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3067, allocations: 0 / 1.294 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004353/0.3071, allocations: 232.7 kB / 1.294 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.837e-05/0.3072, allocations: 39.75 kB / 1.294 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.475e-05/0.3072, allocations: 4 kB / 1.294 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.3074, allocations: 15.94 kB / 1.294 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.391e-05/0.3074, allocations: 19.97 kB / 1.294 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.3074, allocations: 7.984 kB / 1.294 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004073/0.3078, allocations: 327.1 kB / 1.294 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3078, allocations: 0 / 1.294 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003143/0.3082, allocations: 63.89 kB / 1.294 GB, free: 0.9922 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 (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.00171/0.3099, allocations: 457.1 kB / 1.295 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004575/0.3103, allocations: 191.8 kB / 1.295 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3103, allocations: 0 / 1.295 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.3105, allocations: 59.91 kB / 1.295 GB, free: 488 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004932/0.311, allocations: 100 kB / 1.295 GB, free: 400 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.312, allocations: 0.5975 MB / 1.296 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.3122, allocations: 187.9 kB / 1.296 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.87e-05/0.3123, allocations: 39.42 kB / 1.296 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.3123, allocations: 0 / 1.296 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of Templates: time 0.008133/0.3204, allocations: 4.727 MB / 1.3 GB, free: 10.8 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.91526937391609]