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.001979/0.001979, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002693/0.002693, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.588/1.588, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.982/2.982, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002247, allocations: 71.89 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7731/0.7754, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.00449/0.7799, allocations: 1.991 MB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002304/0.7822, allocations: 1.205 MB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.7824, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000492/0.7829, allocations: 163.4 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003799/0.7833, allocations: 155.4 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006153/0.784, allocations: 223.4 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004006/0.7844, allocations: 307.2 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.7845, allocations: 52.38 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.7848, allocations: 147.4 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.785, allocations: 143.4 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.161e-05/0.785, allocations: 20 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.7852, allocations: 55.92 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.7853, allocations: 87.72 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.7855, allocations: 131.1 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004386/0.7859, allocations: 356.8 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.7859, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.193e-06/0.7859, allocations: 4 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.786, allocations: 3.938 kB / 1.022 GB, free: 13.47 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.001108/0.7871, allocations: 0.6146 MB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.7871, allocations: 16.03 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.532e-05/0.7872, allocations: 36.47 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005669/0.7878, allocations: 370.2 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.7878, allocations: 11.98 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.7879, allocations: 4 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.7881, allocations: 109.5 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.7882, allocations: 0 / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.7882, allocations: 0 / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.7882, allocations: 4 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000188/0.7884, allocations: 67.89 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008517/0.7892, allocations: 496.4 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003746/0.7896, allocations: 138.7 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.7898, allocations: 56.77 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.7898, allocations: 0 / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002542/0.7901, allocations: 111 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.7901, allocations: 0 / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0005795/0.7907, allocations: 233.2 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.7907, allocations: 55.41 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006361/0.7914, allocations: 0.5092 MB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.7914, allocations: 29.7 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.7916, allocations: 168.4 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.024e-05/0.7916, allocations: 35.56 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.7918, allocations: 69.95 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.7919, allocations: 346.8 kB / 1.026 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.7922, allocations: 100.5 kB / 1.026 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.7924, allocations: 135.6 kB / 1.026 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/0.7928, allocations: 180 kB / 1.026 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.7928, allocations: 4 kB / 1.026 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005857/0.7934, allocations: 321.1 kB / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.7934, allocations: 13.39 kB / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.7934, allocations: 3.938 kB / 1.026 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.7934, allocations: 0 / 1.026 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.7937, allocations: 51.91 kB / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.7937, allocations: 7.984 kB / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.7938, allocations: 19.84 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-05/0.7939, allocations: 12.05 kB / 1.026 GB, free: 8.973 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.0002085/0.7941, allocations: 193.7 kB / 1.027 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.259e-05/0.7942, allocations: 35.56 kB / 1.027 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.425e-05/0.7942, allocations: 39.06 kB / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.7943, allocations: 0 / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.7943, allocations: 0 / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7943, allocations: 0 / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003219/0.7946, allocations: 305.4 kB / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.7946, allocations: 0 / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.576e-05/0.7947, allocations: 15.98 kB / 1.027 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.7947, allocations: 4 kB / 1.027 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.7947, allocations: 3.938 kB / 1.027 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.7947, allocations: 4 kB / 1.027 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.7947, allocations: 3.938 kB / 1.027 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003877/0.7951, allocations: 204.7 kB / 1.027 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.7952, allocations: 112.7 kB / 1.027 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.394e-05/0.7953, allocations: 15.92 kB / 1.027 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.272e-05/0.7954, allocations: 11.94 kB / 1.027 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.986e-05/0.7955, allocations: 19.97 kB / 1.027 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.7955, allocations: 4 kB / 1.027 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003821/0.7959, allocations: 319.1 kB / 1.028 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7959, allocations: 0 / 1.028 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003/0.7962, allocations: 52 kB / 1.028 GB, free: 7.566 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.001826/0.798, allocations: 423.4 kB / 1.028 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000477/0.7985, allocations: 191.9 kB / 1.028 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7985, allocations: 0 / 1.028 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.7987, allocations: 63.91 kB / 1.028 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005388/0.7993, allocations: 92.64 kB / 1.028 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.8004, allocations: 0.5349 MB / 1.029 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005317/0.8009, allocations: 0.787 MB / 1.03 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001714/0.8011, allocations: 54.94 kB / 1.03 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.451e-05/0.8012, allocations: 35.42 kB / 1.03 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of SimCode: time 3.186e-06/0.8012, allocations: 0 / 1.03 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of Templates: time 0.01014/0.8114, allocations: 4.059 MB / 1.034 GB, free: 1.496 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=400 -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/jenkins/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