Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001709/0.001709, allocations: 105.9 kB / 15.99 MB, free: 6.359 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.001927/0.001927, allocations: 199.3 kB / 16.91 MB, free: 6.199 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.581/1.581, allocations: 222.9 MB / 240.6 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.654/2.654, allocations: 437 MB / 0.7107 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 63.91 kB / 0.8694 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5833/0.5847, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003585/0.5883, allocations: 2.05 MB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001787/0.5901, allocations: 1.19 MB / 1.021 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.5902, allocations: 4 kB / 1.021 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003947/0.5907, allocations: 151.6 kB / 1.021 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003114/0.591, allocations: 143.5 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000478/0.5915, allocations: 204.8 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003151/0.5918, allocations: 307.2 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.592, allocations: 52.38 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.5922, allocations: 151.3 kB / 1.022 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.5923, allocations: 151.4 kB / 1.022 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.5924, allocations: 12 kB / 1.022 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.5925, allocations: 55.92 kB / 1.022 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.701e-05/0.5926, allocations: 95.72 kB / 1.022 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.5927, allocations: 123.2 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.593, allocations: 293.3 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.593, allocations: 3.938 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.683e-06/0.593, allocations: 0 / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.5931, allocations: 0 / 1.022 GB, free: 13.74 MB / 0.7794 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.0009518/0.594, allocations: 0.6185 MB / 1.023 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.5941, allocations: 8.031 kB / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.066e-05/0.5941, allocations: 36.47 kB / 1.023 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/0.5946, allocations: 374.2 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.5946, allocations: 11.94 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.5947, allocations: 12 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.5949, allocations: 107.1 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.5949, allocations: 0 / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.595, allocations: 3.984 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.595, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.5951, allocations: 59.97 kB / 1.024 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000722/0.5959, allocations: 0.4964 MB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.5962, allocations: 130.7 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.5963, allocations: 56.83 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.5964, allocations: 4 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002269/0.5966, allocations: 107.3 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/0.5966, allocations: 0 / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.000513/0.5971, allocations: 225.2 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.5972, allocations: 63.34 kB / 1.025 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005185/0.5977, allocations: 0.5092 MB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.5977, allocations: 25.7 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.5979, allocations: 168.4 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.5979, allocations: 39.53 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.598, allocations: 65.97 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.5981, allocations: 350.8 kB / 1.026 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.5983, allocations: 100.5 kB / 1.026 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.5986, allocations: 135.6 kB / 1.026 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/0.5989, allocations: 179.2 kB / 1.026 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5989, allocations: 0 / 1.026 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005409/0.5994, allocations: 333.6 kB / 1.026 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.5995, allocations: 4 kB / 1.026 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.5995, allocations: 7.922 kB / 1.026 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.5995, allocations: 7.938 kB / 1.026 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.5997, allocations: 55.91 kB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.5997, allocations: 0 / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.5999, allocations: 19.84 kB / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.5999, allocations: 11.98 kB / 1.026 GB, free: 9.227 MB / 0.7794 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.0001657/0.6001, allocations: 185.7 kB / 1.027 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.509e-05/0.6001, allocations: 31.62 kB / 1.027 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.753e-05/0.6002, allocations: 35.06 kB / 1.027 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.6002, allocations: 4 kB / 1.027 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.6002, allocations: 0 / 1.027 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.6002, allocations: 3.984 kB / 1.027 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.6005, allocations: 305.3 kB / 1.027 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.6005, allocations: 0 / 1.027 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.553e-05/0.6006, allocations: 11.98 kB / 1.027 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.6006, allocations: 4 kB / 1.027 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.6006, allocations: 3.938 kB / 1.027 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6006, allocations: 4 kB / 1.027 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6006, allocations: 0 / 1.027 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/0.601, allocations: 213.9 kB / 1.027 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.107e-05/0.6011, allocations: 116.7 kB / 1.027 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.613e-05/0.6011, allocations: 11.94 kB / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.521e-05/0.6012, allocations: 0 / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.67e-05/0.6013, allocations: 23.97 kB / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.6013, allocations: 8 kB / 1.027 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003533/0.6017, allocations: 319.1 kB / 1.028 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6017, allocations: 0 / 1.028 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000296/0.602, allocations: 48 kB / 1.028 GB, free: 7.832 MB / 0.7794 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.001081/0.6031, allocations: 431.5 kB / 1.028 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004929/0.6036, allocations: 199.8 kB / 1.028 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6036, allocations: 0 / 1.028 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.6038, allocations: 59.91 kB / 1.028 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005516/0.6043, allocations: 96.8 kB / 1.029 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.6056, allocations: 0.6272 MB / 1.029 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/0.606, allocations: 0.7909 MB / 1.03 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.6062, allocations: 35.42 kB / 1.03 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of SimCode: time 5.21e-07/0.6062, allocations: 0 / 1.03 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of Templates: time 0.00723/0.6134, allocations: 4.369 MB / 1.034 GB, free: 1.367 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches