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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|product.u1|product.u2|product.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 109.7 kB / 15.99 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001635/0.001636, allocations: 192.4 kB / 16.91 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.56/2.56, allocations: 469.8 MB / 0.7427 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 69.2 kB / 0.9087 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2983, allocations: 159.1 MB / 1.064 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.00368/0.302, allocations: 2.056 MB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001967/0.304, allocations: 1.181 MB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.3041, allocations: 3.938 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004126/0.3045, allocations: 155.6 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.3049, allocations: 143.5 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004763/0.3053, allocations: 202.5 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003565/0.3057, allocations: 307.2 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.3059, allocations: 52.36 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.3061, allocations: 147.4 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.3063, allocations: 155.4 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.3063, allocations: 12 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.3064, allocations: 55.97 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.3065, allocations: 91.67 kB / 1.069 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.3067, allocations: 127.1 kB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.307, allocations: 291.7 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.307, allocations: 0 / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.352e-06/0.307, allocations: 0 / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.307, allocations: 0 / 1.069 GB, free: 10.09 MB / 0.8419 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.0009871/0.308, allocations: 0.6223 MB / 1.07 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.3081, allocations: 8.031 kB / 1.07 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.703e-05/0.3082, allocations: 32.56 kB / 1.07 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005259/0.3087, allocations: 374.2 kB / 1.07 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.3087, allocations: 12 kB / 1.07 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.3088, allocations: 11.94 kB / 1.07 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.309, allocations: 112.2 kB / 1.07 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.3091, allocations: 0 / 1.07 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.3091, allocations: 4 kB / 1.07 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3091, allocations: 0 / 1.07 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.3093, allocations: 59.95 kB / 1.07 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000787/0.3101, allocations: 0.4964 MB / 1.071 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/0.3104, allocations: 134.7 kB / 1.071 GB, free: 8.09 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.3105, allocations: 44.84 kB / 1.071 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.3106, allocations: 8 kB / 1.071 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002398/0.3108, allocations: 122.4 kB / 1.071 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.3108, allocations: 0 / 1.071 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.0005137/0.3113, allocations: 217.3 kB / 1.071 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.3114, allocations: 51.41 kB / 1.071 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005746/0.312, allocations: 0.5132 MB / 1.072 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.312, allocations: 29.7 kB / 1.072 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.3121, allocations: 164.4 kB / 1.072 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.3122, allocations: 35.55 kB / 1.072 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.3123, allocations: 73.88 kB / 1.072 GB, free: 6.789 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3125, allocations: 350.8 kB / 1.072 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.3127, allocations: 104.5 kB / 1.072 GB, free: 6.336 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.3129, allocations: 135.6 kB / 1.073 GB, free: 6.195 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.3132, allocations: 179.7 kB / 1.073 GB, free: 6.012 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3133, allocations: 4 kB / 1.073 GB, free: 6.008 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005524/0.3138, allocations: 326.2 kB / 1.073 GB, free: 5.684 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.3138, allocations: 4 kB / 1.073 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3139, allocations: 8 kB / 1.073 GB, free: 5.672 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3139, allocations: 4 kB / 1.073 GB, free: 5.668 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.3141, allocations: 51.91 kB / 1.073 GB, free: 5.617 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.3141, allocations: 0 / 1.073 GB, free: 5.617 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.3143, allocations: 19.83 kB / 1.073 GB, free: 5.598 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.3143, allocations: 16 kB / 1.073 GB, free: 5.582 MB / 0.8419 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.0001963/0.3145, allocations: 182.4 kB / 1.073 GB, free: 5.395 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.152e-05/0.3146, allocations: 35.61 kB / 1.073 GB, free: 5.359 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.505e-05/0.3146, allocations: 39.06 kB / 1.073 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3146, allocations: 4 kB / 1.073 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.3146, allocations: 3.984 kB / 1.073 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3147, allocations: 0 / 1.073 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002966/0.315, allocations: 301.3 kB / 1.074 GB, free: 4.969 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.315, allocations: 7.938 kB / 1.074 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.948e-05/0.3151, allocations: 12 kB / 1.074 GB, free: 4.949 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.3151, allocations: 0 / 1.074 GB, free: 4.949 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.3151, allocations: 11.92 kB / 1.074 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3151, allocations: 0 / 1.074 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.3151, allocations: 0 / 1.074 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/0.3155, allocations: 204.7 kB / 1.074 GB, free: 4.719 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.541e-05/0.3156, allocations: 116.7 kB / 1.074 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.3156, allocations: 3.938 kB / 1.074 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.484e-05/0.3157, allocations: 15.92 kB / 1.074 GB, free: 4.566 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/0.3158, allocations: 15.98 kB / 1.074 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.3158, allocations: 11.92 kB / 1.074 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003525/0.3162, allocations: 315.1 kB / 1.074 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3162, allocations: 0 / 1.074 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002733/0.3165, allocations: 63.89 kB / 1.074 GB, free: 4.172 MB / 0.8419 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 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * 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.001414/0.3179, allocations: 413.4 kB / 1.075 GB, free: 3.918 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004165/0.3183, allocations: 195.8 kB / 1.075 GB, free: 3.727 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3183, allocations: 0 / 1.075 GB, free: 3.727 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.3185, allocations: 68.09 kB / 1.075 GB, free: 3.66 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.3189, allocations: 93.53 kB / 1.075 GB, free: 3.582 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008776/0.3198, allocations: 0.6463 MB / 1.076 GB, free: 2.906 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.3202, allocations: 0.7792 MB / 1.077 GB, free: 2.102 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.636e-05/0.3203, allocations: 39.42 kB / 1.077 GB, free: 2.062 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3203, allocations: 0 / 1.077 GB, free: 2.062 MB / 0.8419 GB Notification: Performance of Templates: time 0.4125/0.7328, allocations: 4.375 MB / 1.081 GB, free: 20.97 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.makefile (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) 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) Reference file matches