Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009205/0.0009205, allocations: 98.88 kB / 16.02 MB, free: 76 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.001172/0.001172, allocations: 182.3 kB / 16.92 MB, free: 6.914 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.407/1.407, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.66/2.66, allocations: 462.6 MB / 0.737 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003273, allocations: 11.59 kB / 0.9034 GB, free: 36.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3202, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.002829/0.3231, allocations: 1.702 MB / 1.061 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002677/0.3258, allocations: 1.166 MB / 1.062 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003017/0.3262, allocations: 7.938 kB / 1.062 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006397/0.3268, allocations: 151.5 kB / 1.062 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005945/0.3274, allocations: 135.6 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009611/0.3284, allocations: 202.6 kB / 1.063 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007359/0.3292, allocations: 295.2 kB / 1.063 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002902/0.3295, allocations: 52.38 kB / 1.063 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004283/0.3299, allocations: 123.3 kB / 1.063 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000326/0.3303, allocations: 139.4 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.408e-05/0.3303, allocations: 12 kB / 1.063 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002441/0.3306, allocations: 43.92 kB / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.3308, allocations: 83.72 kB / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002265/0.331, allocations: 144.8 kB / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000528/0.3315, allocations: 275.6 kB / 1.064 GB, free: 464 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3316, allocations: 0 / 1.064 GB, free: 464 kB / 0.8106 GB Notification: Performance of FrontEnd: time 3.336e-06/0.3316, allocations: 4 kB / 1.064 GB, free: 460 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.061e-05/0.3316, allocations: 0 / 1.064 GB, free: 460 kB / 0.8106 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.00153/0.3331, allocations: 0.5643 MB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.3332, allocations: 8.031 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.3333, allocations: 32.56 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005826/0.3339, allocations: 382.1 kB / 1.065 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.334, allocations: 8 kB / 1.065 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.334, allocations: 4 kB / 1.065 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.3343, allocations: 110.7 kB / 1.065 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.3343, allocations: 0 / 1.065 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.3343, allocations: 0 / 1.065 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.3343, allocations: 8 kB / 1.065 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.3345, allocations: 63.88 kB / 1.065 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009224/0.3354, allocations: 0.4964 MB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/0.3358, allocations: 138.7 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.3359, allocations: 44.84 kB / 1.066 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.336, allocations: 4 kB / 1.066 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002538/0.3362, allocations: 115.3 kB / 1.066 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.3362, allocations: 4 kB / 1.066 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0005462/0.3368, allocations: 224.5 kB / 1.066 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.3368, allocations: 51.41 kB / 1.066 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006242/0.3375, allocations: 0.5093 MB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.3375, allocations: 29.7 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.3377, allocations: 164.4 kB / 1.067 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.022e-05/0.3377, allocations: 35.55 kB / 1.067 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-05/0.3378, allocations: 41.64 kB / 1.067 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3379, allocations: 350.8 kB / 1.067 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.3382, allocations: 96.52 kB / 1.067 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.3384, allocations: 135.6 kB / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003289/0.3387, allocations: 180 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3387, allocations: 4 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005722/0.3393, allocations: 325.1 kB / 1.068 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.3393, allocations: 11.94 kB / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3393, allocations: 3.938 kB / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.3394, allocations: 0 / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.3396, allocations: 51.91 kB / 1.068 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.3396, allocations: 4 kB / 1.068 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.3398, allocations: 23.89 kB / 1.068 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.3398, allocations: 16 kB / 1.068 GB, free: 12.02 MB / 0.8262 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.0001793/0.34, allocations: 177.8 kB / 1.068 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.3401, allocations: 35.61 kB / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.963e-05/0.3401, allocations: 35.06 kB / 1.068 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.3401, allocations: 4 kB / 1.068 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.3401, allocations: 0 / 1.068 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3402, allocations: 0 / 1.068 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.3404, allocations: 301.4 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.3405, allocations: 12 kB / 1.068 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.179e-05/0.3405, allocations: 8 kB / 1.068 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3405, allocations: 0 / 1.068 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.3406, allocations: 11.92 kB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3406, allocations: 0 / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3406, allocations: 0 / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.3409, allocations: 212.5 kB / 1.069 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.3411, allocations: 112.7 kB / 1.069 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.873e-05/0.3411, allocations: 15.92 kB / 1.069 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.649e-05/0.3412, allocations: 4 kB / 1.069 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.156e-05/0.3413, allocations: 19.97 kB / 1.069 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.3413, allocations: 12 kB / 1.069 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003459/0.3417, allocations: 315.1 kB / 1.069 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3417, allocations: 0 / 1.069 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00031/0.342, allocations: 52 kB / 1.069 GB, free: 10.62 MB / 0.8262 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.001103/0.3431, allocations: 426.4 kB / 1.069 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004184/0.3435, allocations: 191.8 kB / 1.07 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3436, allocations: 0 / 1.07 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.3437, allocations: 56.84 kB / 1.07 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005125/0.3442, allocations: 83.39 kB / 1.07 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009889/0.3452, allocations: 0.6379 MB / 1.07 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.3456, allocations: 0.7833 MB / 1.071 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.582e-05/0.3457, allocations: 35.42 kB / 1.071 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of SimCode: time 4.81e-07/0.3457, allocations: 0 / 1.071 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of Templates: time 0.008429/0.3541, allocations: 4.325 MB / 1.075 GB, free: 4.219 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches