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.006292/0.006292, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001384/0.001384, allocations: 192.9 kB / 16.67 MB, free: 5.52 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.236/2.236, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 72.03 kB / 0.9509 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.066/1.067, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.005158/1.072, allocations: 1.997 MB / 1.09 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003173/1.076, allocations: 1.194 MB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002348/1.076, allocations: 7.312 kB / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00078/1.077, allocations: 154.9 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004944/1.077, allocations: 157.4 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007465/1.078, allocations: 225.6 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005161/1.079, allocations: 312.3 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/1.079, allocations: 56.27 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002754/1.079, allocations: 149 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/1.079, allocations: 152.5 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.503e-05/1.079, allocations: 14.03 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/1.08, allocations: 56.02 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001511/1.08, allocations: 87.16 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00015/1.08, allocations: 132 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006121/1.081, allocations: 367.7 kB / 1.093 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.081, allocations: 0 / 1.093 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.442e-06/1.081, allocations: 0 / 1.093 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.895e-06/1.081, allocations: 0.875 kB / 1.093 GB, free: 2.484 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.0009979/1.082, allocations: 0.625 MB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/1.082, allocations: 9.312 kB / 1.093 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.025e-05/1.082, allocations: 32.64 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005451/1.082, allocations: 374.9 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/1.082, allocations: 4.281 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/1.082, allocations: 18.86 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/1.083, allocations: 102 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/1.083, allocations: 0 / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/1.083, allocations: 9.578 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/1.083, allocations: 2.281 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/1.083, allocations: 57.97 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008867/1.084, allocations: 0.4957 MB / 1.095 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/1.084, allocations: 134.7 kB / 1.095 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/1.084, allocations: 47.7 kB / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.704e-05/1.084, allocations: 10.5 kB / 1.095 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000269/1.085, allocations: 108.9 kB / 1.095 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/1.085, allocations: 0 / 1.095 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0006278/1.085, allocations: 230.3 kB / 1.095 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/1.085, allocations: 53.52 kB / 1.095 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007683/1.086, allocations: 0.5096 MB / 1.096 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/1.086, allocations: 35.66 kB / 1.096 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/1.086, allocations: 163.4 kB / 1.096 GB, free: 476 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/1.086, allocations: 37.44 kB / 1.096 GB, free: 448 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/1.086, allocations: 70.38 kB / 1.096 GB, free: 408 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000104/1.087, allocations: 348.6 kB / 1.096 GB, free: 72 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/1.087, allocations: 105 kB / 1.096 GB, free: 36 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/1.087, allocations: 132.3 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003973/1.088, allocations: 190.2 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.088, allocations: 1.156 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006339/1.088, allocations: 321.1 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/1.088, allocations: 9.984 kB / 1.097 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/1.088, allocations: 4.859 kB / 1.097 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/1.088, allocations: 2.281 kB / 1.097 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/1.089, allocations: 47.55 kB / 1.097 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/1.089, allocations: 6.156 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/1.089, allocations: 19.45 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.84e-05/1.089, allocations: 13.67 kB / 1.097 GB, free: 15.72 MB / 0.8731 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.0002241/1.089, allocations: 177.2 kB / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.087e-05/1.089, allocations: 38.06 kB / 1.097 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.703e-05/1.089, allocations: 40.89 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-06/1.089, allocations: 2.609 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/1.089, allocations: 1 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/1.089, allocations: 0.75 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003802/1.09, allocations: 294.6 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.09, allocations: 1.031 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.755e-05/1.09, allocations: 12.81 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/1.09, allocations: 9.031 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/1.09, allocations: 8.078 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.09, allocations: 0.7969 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/1.09, allocations: 4.875 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004283/1.09, allocations: 203.9 kB / 1.098 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/1.09, allocations: 116.1 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.557e-05/1.09, allocations: 10.94 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.154e-05/1.09, allocations: 9.656 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.109e-05/1.09, allocations: 20.84 kB / 1.098 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/1.091, allocations: 6.219 kB / 1.098 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004218/1.091, allocations: 314.8 kB / 1.098 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.091, allocations: 0 / 1.098 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003345/1.091, allocations: 57.73 kB / 1.098 GB, free: 14.88 MB / 0.8731 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.001115/1.092, allocations: 423.6 kB / 1.099 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004804/1.093, allocations: 195.6 kB / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.093, allocations: 0 / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001819/1.093, allocations: 60.14 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004995/1.094, allocations: 92.3 kB / 1.099 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/1.095, allocations: 0.5185 MB / 1.1 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/1.095, allocations: 0.7911 MB / 1.1 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.00017/1.095, allocations: 51.7 kB / 1.1 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.915e-05/1.095, allocations: 31.73 kB / 1.1 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of SimCode: time 2.004e-06/1.095, allocations: 0 / 1.1 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of Templates: time 0.0135/1.109, allocations: 4.089 MB / 1.104 GB, free: 13.19 MB / 0.8731 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