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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.007622/0.007622, allocations: 101.4 kB / 15.88 MB, free: 5.863 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.001788/0.001788, allocations: 191.3 kB / 16.79 MB, free: 5.805 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.385/1.385, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.613/2.613, allocations: 437 MB / 0.7106 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 67.91 kB / 0.8692 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7784/0.7799, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.004127/0.7841, allocations: 2.054 MB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002585/0.7867, allocations: 1.19 MB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003151/0.7871, allocations: 7.938 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006036/0.7877, allocations: 155.6 kB / 1.021 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005219/0.7883, allocations: 139.5 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007652/0.789, allocations: 203.1 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005544/0.7896, allocations: 291.1 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.7898, allocations: 52.38 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002948/0.7901, allocations: 131.3 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003042/0.7904, allocations: 143.4 kB / 1.022 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.568e-05/0.7905, allocations: 8 kB / 1.022 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.7907, allocations: 47.95 kB / 1.022 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.7908, allocations: 79.69 kB / 1.022 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.791, allocations: 123.1 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003839/0.7914, allocations: 289.3 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.7914, allocations: 0 / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7914, allocations: 0 / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.7914, allocations: 4 kB / 1.022 GB, free: 13.83 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.001212/0.7926, allocations: 0.6121 MB / 1.023 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.7927, allocations: 12.03 kB / 1.023 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.7928, allocations: 36.47 kB / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005736/0.7934, allocations: 378.2 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.7934, allocations: 7.938 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.7934, allocations: 8 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.7937, allocations: 109.5 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.7937, allocations: 0 / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.7938, allocations: 4 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.7938, allocations: 4 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.794, allocations: 55.95 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009442/0.7949, allocations: 496.4 kB / 1.024 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003895/0.7953, allocations: 134.7 kB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.7955, allocations: 52.83 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.7955, allocations: 3.984 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002772/0.7958, allocations: 119.3 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.7958, allocations: 0 / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0006091/0.7964, allocations: 221.2 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.7965, allocations: 59.41 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006554/0.7972, allocations: 0.5053 MB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.7972, allocations: 33.7 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.7974, allocations: 164.4 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.901e-05/0.7974, allocations: 35.55 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.7976, allocations: 65.88 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.7977, allocations: 350.8 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.7979, allocations: 100.5 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.7982, allocations: 139.5 kB / 1.026 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003779/0.7986, allocations: 182.4 kB / 1.026 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.7986, allocations: 8 kB / 1.026 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006315/0.7992, allocations: 322.7 kB / 1.026 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.7993, allocations: 8 kB / 1.026 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.7993, allocations: 3.938 kB / 1.026 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.7993, allocations: 0 / 1.026 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.7996, allocations: 51.91 kB / 1.026 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.7996, allocations: 4 kB / 1.026 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.7997, allocations: 19.83 kB / 1.026 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/0.7998, allocations: 12 kB / 1.026 GB, free: 9.34 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.0001975/0.8, allocations: 181.7 kB / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/0.8001, allocations: 39.62 kB / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.696e-05/0.8001, allocations: 39.06 kB / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.8001, allocations: 0 / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.8002, allocations: 3.984 kB / 1.026 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.8002, allocations: 0 / 1.026 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/0.8005, allocations: 297.4 kB / 1.027 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.8005, allocations: 0 / 1.027 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.763e-05/0.8005, allocations: 19.92 kB / 1.027 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.8006, allocations: 0 / 1.027 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/0.8006, allocations: 11.92 kB / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.8006, allocations: 8 kB / 1.027 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.8006, allocations: 0 / 1.027 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003911/0.801, allocations: 202 kB / 1.027 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.8011, allocations: 112.7 kB / 1.027 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.933e-05/0.8012, allocations: 11.94 kB / 1.027 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.8013, allocations: 7.984 kB / 1.027 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.074e-05/0.8014, allocations: 15.98 kB / 1.027 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.8014, allocations: 15.98 kB / 1.027 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003705/0.8018, allocations: 311.1 kB / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.863e-06/0.8018, allocations: 0 / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003144/0.8021, allocations: 63.92 kB / 1.027 GB, free: 7.934 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.001158/0.8033, allocations: 430.2 kB / 1.028 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004562/0.8037, allocations: 192.1 kB / 1.028 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8037, allocations: 4.125 kB / 1.028 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.8039, allocations: 63.91 kB / 1.028 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.8044, allocations: 77.48 kB / 1.028 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.8054, allocations: 0.6358 MB / 1.029 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/0.8058, allocations: 0.7909 MB / 1.03 GB, free: 5.859 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.346e-05/0.8059, allocations: 31.42 kB / 1.03 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.8059, allocations: 0 / 1.03 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of Templates: time 0.008371/0.8143, allocations: 4.378 MB / 1.034 GB, free: 1.465 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