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.001092/0.001092, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006563/0.006563, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.651/1.651, allocations: 223.3 MB / 240.3 MB, free: 5.32 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.959/2.959, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0006667/0.0006668, allocations: 8.281 kB / 0.8729 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8866/0.8873, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.002908/0.8903, allocations: 1.703 MB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002531/0.8929, allocations: 1.162 MB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.893, allocations: 3.938 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005487/0.8936, allocations: 159.6 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.8939, allocations: 139.5 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006012/0.8945, allocations: 199.4 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003853/0.8949, allocations: 295.1 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.8952, allocations: 48.36 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.8954, allocations: 127.4 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002152/0.8956, allocations: 143.4 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.8956, allocations: 4 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.8958, allocations: 47.97 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.896, allocations: 79.73 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.8962, allocations: 136.8 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004708/0.8966, allocations: 352.7 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.8967, allocations: 0 / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.304e-06/0.8967, allocations: 0 / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.8967, allocations: 0 / 1.028 GB, free: 11.21 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.001137/0.8978, allocations: 0.572 MB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.8979, allocations: 8.031 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.698e-05/0.898, allocations: 32.56 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006064/0.8986, allocations: 382.1 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.8986, allocations: 8 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.8987, allocations: 8 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004128/0.8991, allocations: 103.5 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.8991, allocations: 4 kB / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.8991, allocations: 4 kB / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.8991, allocations: 0 / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.8993, allocations: 63.89 kB / 1.029 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009977/0.9003, allocations: 496.3 kB / 1.029 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003942/0.9008, allocations: 142.7 kB / 1.029 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.9009, allocations: 52.77 kB / 1.029 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-05/0.9009, allocations: 7.984 kB / 1.029 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000303/0.9013, allocations: 115.3 kB / 1.029 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 2.144e-06/0.9013, allocations: 0 / 1.029 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.000734/0.902, allocations: 222.5 kB / 1.03 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/0.9021, allocations: 55.41 kB / 1.03 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007189/0.9028, allocations: 0.5092 MB / 1.03 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.9029, allocations: 33.7 kB / 1.03 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002094/0.9031, allocations: 168.4 kB / 1.03 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.579e-05/0.9031, allocations: 31.56 kB / 1.03 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.939e-05/0.9032, allocations: 41.69 kB / 1.03 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002057/0.9035, allocations: 350.8 kB / 1.031 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/0.9037, allocations: 100.5 kB / 1.031 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003048/0.904, allocations: 135.6 kB / 1.031 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000468/0.9045, allocations: 178.5 kB / 1.031 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.9045, allocations: 0 / 1.031 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007952/0.9053, allocations: 326.6 kB / 1.031 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.9054, allocations: 4 kB / 1.031 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.9054, allocations: 3.938 kB / 1.032 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-05/0.9054, allocations: 4 kB / 1.032 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003609/0.9058, allocations: 55.91 kB / 1.032 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.9058, allocations: 4.062 kB / 1.032 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.906, allocations: 19.84 kB / 1.032 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/0.9061, allocations: 11.98 kB / 1.032 GB, free: 6.785 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.0002872/0.9064, allocations: 182.5 kB / 1.032 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.415e-05/0.9065, allocations: 31.62 kB / 1.032 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.9066, allocations: 43.05 kB / 1.032 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.9066, allocations: 0 / 1.032 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.9066, allocations: 0 / 1.032 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.9066, allocations: 4 kB / 1.032 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004446/0.9071, allocations: 301.5 kB / 1.032 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.9071, allocations: 4 kB / 1.032 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.9072, allocations: 15.98 kB / 1.032 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.9072, allocations: 0 / 1.032 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.9073, allocations: 7.875 kB / 1.032 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.9073, allocations: 4 kB / 1.032 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.9073, allocations: 0 / 1.032 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005664/0.9079, allocations: 213.7 kB / 1.032 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/0.908, allocations: 116.7 kB / 1.032 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.686e-05/0.9081, allocations: 11.94 kB / 1.032 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.9082, allocations: 11.92 kB / 1.032 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.24e-05/0.9084, allocations: 15.98 kB / 1.033 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.9084, allocations: 11.98 kB / 1.033 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005484/0.9089, allocations: 311.1 kB / 1.033 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.2e-07/0.909, allocations: 0 / 1.033 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005133/0.9095, allocations: 59.98 kB / 1.033 GB, free: 5.375 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.002063/0.9116, allocations: 425.1 kB / 1.033 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006184/0.9122, allocations: 192.1 kB / 1.033 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.9122, allocations: 0 / 1.033 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.9124, allocations: 63.91 kB / 1.034 GB, free: 4.863 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007055/0.9131, allocations: 85.44 kB / 1.034 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.9145, allocations: 0.6045 MB / 1.034 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005845/0.9151, allocations: 0.7831 MB / 1.035 GB, free: 3.344 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002219/0.9153, allocations: 50.95 kB / 1.035 GB, free: 3.293 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.9155, allocations: 35.42 kB / 1.035 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of SimCode: time 6.41e-07/0.9155, allocations: 0 / 1.035 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of Templates: time 0.01283/0.9283, allocations: 3.813 MB / 1.039 GB, free: 15.48 MB / 0.795 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