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.005794/0.005794, allocations: 99.83 kB / 15.73 MB, free: 6.02 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.001269/0.00127, allocations: 193.6 kB / 16.67 MB, free: 5.934 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.337/2.337, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 67.89 kB / 0.9509 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078/1.079, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003633/1.083, allocations: 1.997 MB / 1.09 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002265/1.085, allocations: 1.206 MB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/1.085, allocations: 2.656 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005553/1.086, allocations: 159.5 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004238/1.086, allocations: 153 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007538/1.087, allocations: 225.2 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005256/1.088, allocations: 312.7 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/1.088, allocations: 48.03 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003217/1.088, allocations: 157.2 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002379/1.088, allocations: 144.4 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.384e-05/1.088, allocations: 18.34 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/1.089, allocations: 62.92 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001392/1.089, allocations: 82.73 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001319/1.089, allocations: 128.8 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006056/1.089, allocations: 365.3 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/1.089, allocations: 1.422 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.364e-06/1.09, allocations: 0 / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.526e-06/1.09, allocations: 0 / 1.093 GB, free: 2.496 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.001158/1.091, allocations: 0.6293 MB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/1.091, allocations: 13.19 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.757e-05/1.091, allocations: 40.38 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005894/1.091, allocations: 379.3 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/1.091, allocations: 5.5 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/1.092, allocations: 10.3 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/1.092, allocations: 105.8 kB / 1.094 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/1.092, allocations: 0 / 1.094 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/1.092, allocations: 10.2 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/1.092, allocations: 5.531 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001994/1.092, allocations: 62.14 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009064/1.093, allocations: 499.1 kB / 1.095 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000385/1.093, allocations: 143.1 kB / 1.095 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/1.094, allocations: 47.78 kB / 1.095 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/1.094, allocations: 1.844 kB / 1.095 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002555/1.094, allocations: 109.8 kB / 1.095 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 2.114e-06/1.094, allocations: 3.938 kB / 1.095 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0006474/1.095, allocations: 226.3 kB / 1.095 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/1.095, allocations: 54.14 kB / 1.095 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007402/1.095, allocations: 0.5091 MB / 1.096 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/1.095, allocations: 31.95 kB / 1.096 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/1.095, allocations: 166.6 kB / 1.096 GB, free: 468 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/1.096, allocations: 38.91 kB / 1.096 GB, free: 440 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/1.096, allocations: 69.23 kB / 1.096 GB, free: 400 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.591e-05/1.096, allocations: 348.4 kB / 1.096 GB, free: 64 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/1.096, allocations: 101.8 kB / 1.096 GB, free: 32 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002875/1.096, allocations: 135.8 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/1.097, allocations: 190.1 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/1.097, allocations: 4 kB / 1.097 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006361/1.097, allocations: 322.2 kB / 1.097 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/1.097, allocations: 10.11 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/1.097, allocations: 0.7188 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/1.097, allocations: 2.156 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/1.098, allocations: 55.45 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/1.098, allocations: 2.031 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/1.098, allocations: 15.94 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.611e-05/1.098, allocations: 9.781 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.0002397/1.098, allocations: 184.2 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.459e-05/1.098, allocations: 38.91 kB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.705e-05/1.098, allocations: 37.94 kB / 1.097 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/1.098, allocations: 2.031 kB / 1.097 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/1.098, allocations: 0 / 1.097 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/1.098, allocations: 2.672 kB / 1.097 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003879/1.099, allocations: 298 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/1.099, allocations: 0.6094 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.289e-05/1.099, allocations: 17.23 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/1.099, allocations: 4.875 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/1.099, allocations: 16.38 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/1.099, allocations: 0 / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/1.099, allocations: 1.094 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004088/1.099, allocations: 206.1 kB / 1.098 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/1.1, allocations: 116.6 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.006e-05/1.1, allocations: 11.27 kB / 1.098 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.81e-05/1.1, allocations: 6.078 kB / 1.098 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.359e-05/1.1, allocations: 24.19 kB / 1.098 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/1.1, allocations: 7.359 kB / 1.098 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004558/1.1, allocations: 314.5 kB / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.5e-07/1.1, allocations: 0 / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003406/1.101, allocations: 57.66 kB / 1.098 GB, free: 14.86 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.0011/1.102, allocations: 425.8 kB / 1.099 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004842/1.102, allocations: 190.8 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.102, allocations: 0 / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001805/1.102, allocations: 68.47 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005477/1.103, allocations: 88.38 kB / 1.099 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/1.104, allocations: 0.5276 MB / 1.1 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/1.104, allocations: 0.7861 MB / 1.1 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001847/1.105, allocations: 56.94 kB / 1.1 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/1.105, allocations: 35.42 kB / 1.1 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of SimCode: time 2e-07/1.105, allocations: 0 / 1.1 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of Templates: time 0.01119/1.116, allocations: 4.084 MB / 1.104 GB, free: 13.16 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