Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007963/0.007963, allocations: 107.8 kB / 15.74 MB, free: 6.449 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.001819/0.00182, allocations: 196 kB / 16.67 MB, free: 6.355 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.594/2.594, allocations: 390.2 MB / 0.6648 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 63.22 kB / 0.9509 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3242, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003449/0.3277, allocations: 2.003 MB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001904/0.3297, allocations: 1.189 MB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.3298, allocations: 4 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004241/0.3302, allocations: 163.4 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003405/0.3306, allocations: 155.4 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005068/0.3311, allocations: 229.2 kB / 1.092 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003177/0.3314, allocations: 311.2 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.3316, allocations: 56.34 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.3318, allocations: 135.5 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.332, allocations: 151.4 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.415e-05/0.332, allocations: 12 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.3322, allocations: 63.91 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.3323, allocations: 87.73 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.3325, allocations: 135.1 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004194/0.3329, allocations: 362.7 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3329, allocations: 0 / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3329, allocations: 0 / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.3329, allocations: 0 / 1.093 GB, free: 12.45 MB / 0.8575 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.001085/0.334, allocations: 0.6301 MB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.3341, allocations: 8.031 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.949e-05/0.3341, allocations: 32.56 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005516/0.3347, allocations: 374 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.3347, allocations: 8 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.3348, allocations: 11.98 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.335, allocations: 103.3 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.335, allocations: 3.938 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.3351, allocations: 4 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3351, allocations: 0 / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.3353, allocations: 63.95 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008193/0.3361, allocations: 0.4925 MB / 1.095 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/0.3364, allocations: 130.7 kB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.3366, allocations: 56.77 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.3366, allocations: 4 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/0.3368, allocations: 111.3 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.3368, allocations: 0 / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005198/0.3374, allocations: 221.3 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.3374, allocations: 55.41 kB / 1.095 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005591/0.338, allocations: 0.5093 MB / 1.096 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.338, allocations: 29.7 kB / 1.096 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.3382, allocations: 168.3 kB / 1.096 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.3382, allocations: 39.59 kB / 1.096 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.3383, allocations: 73.86 kB / 1.096 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3385, allocations: 342.8 kB / 1.096 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.3387, allocations: 100.5 kB / 1.096 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.3389, allocations: 139.6 kB / 1.096 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000303/0.3392, allocations: 180 kB / 1.097 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3392, allocations: 0 / 1.097 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005213/0.3398, allocations: 321.2 kB / 1.097 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.3398, allocations: 7.938 kB / 1.097 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.3398, allocations: 0 / 1.097 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.3398, allocations: 12.05 kB / 1.097 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.3401, allocations: 43.92 kB / 1.097 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.3401, allocations: 7.984 kB / 1.097 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.3402, allocations: 15.84 kB / 1.097 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.3403, allocations: 15.98 kB / 1.097 GB, free: 7.949 MB / 0.8575 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.0002031/0.3405, allocations: 181.8 kB / 1.097 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.3406, allocations: 31.56 kB / 1.097 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.246e-05/0.3406, allocations: 39.06 kB / 1.097 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.3407, allocations: 4 kB / 1.097 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.3407, allocations: 4 kB / 1.097 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3407, allocations: 4 kB / 1.097 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003547/0.341, allocations: 301.3 kB / 1.098 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.341, allocations: 0 / 1.098 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.272e-05/0.3411, allocations: 19.92 kB / 1.098 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.3411, allocations: 3.938 kB / 1.098 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.3412, allocations: 4 kB / 1.098 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3412, allocations: 0 / 1.098 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3412, allocations: 0 / 1.098 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003711/0.3415, allocations: 204.7 kB / 1.098 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.3417, allocations: 112.7 kB / 1.098 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.293e-05/0.3417, allocations: 7.922 kB / 1.098 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.107e-05/0.3418, allocations: 8 kB / 1.098 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.847e-05/0.3419, allocations: 19.97 kB / 1.098 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.3419, allocations: 4 kB / 1.098 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003201/0.3422, allocations: 315.1 kB / 1.098 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3423, allocations: 4 kB / 1.098 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002978/0.3426, allocations: 59.91 kB / 1.098 GB, free: 6.555 MB / 0.8575 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.0009966/0.3436, allocations: 431.5 kB / 1.099 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004091/0.344, allocations: 187.8 kB / 1.099 GB, free: 6.102 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.344, allocations: 0 / 1.099 GB, free: 6.102 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.3441, allocations: 68.03 kB / 1.099 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/0.3446, allocations: 100.3 kB / 1.099 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008474/0.3455, allocations: 0.5141 MB / 1.1 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.3458, allocations: 0.7947 MB / 1.1 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001186/0.346, allocations: 46.95 kB / 1.1 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.894e-05/0.3461, allocations: 35.42 kB / 1.1 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of SimCode: time 3.51e-07/0.3461, allocations: 4 kB / 1.1 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of Templates: time 0.008056/0.3541, allocations: 4.093 MB / 1.104 GB, free: 456 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches