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.01056/0.01056, allocations: 100.3 kB / 15.73 MB, free: 6 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.002155/0.002155, allocations: 195.1 kB / 16.67 MB, free: 5.922 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.406/2.406, allocations: 390.2 MB / 0.6648 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001294, allocations: 67.89 kB / 0.9509 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.007, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003814/1.011, allocations: 1.994 MB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002336/1.013, allocations: 1.194 MB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002114/1.013, allocations: 6.406 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007427/1.014, allocations: 159.5 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005139/1.015, allocations: 156.4 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008087/1.015, allocations: 219.9 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006048/1.016, allocations: 312.9 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002447/1.016, allocations: 48.3 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003264/1.017, allocations: 159 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002894/1.017, allocations: 145.2 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.661e-05/1.017, allocations: 14.25 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002268/1.017, allocations: 58.98 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000182/1.017, allocations: 87.31 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001914/1.018, allocations: 132.7 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007247/1.018, allocations: 367.3 kB / 1.093 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/1.018, allocations: 0 / 1.093 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.165e-06/1.018, allocations: 0 / 1.093 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.007e-05/1.018, allocations: 1.062 kB / 1.093 GB, free: 2.52 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.001131/1.019, allocations: 0.6216 MB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.478e-05/1.02, allocations: 9.781 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.489e-05/1.02, allocations: 31.31 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005942/1.02, allocations: 376.3 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/1.02, allocations: 7.969 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.038e-05/1.02, allocations: 14.05 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/1.021, allocations: 106.1 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/1.021, allocations: 0.875 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/1.021, allocations: 1.219 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/1.021, allocations: 1.781 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/1.021, allocations: 66.52 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009259/1.022, allocations: 0.4997 MB / 1.095 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003774/1.022, allocations: 131.6 kB / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/1.022, allocations: 49.91 kB / 1.095 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/1.022, allocations: 6.797 kB / 1.095 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002621/1.023, allocations: 113.2 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/1.023, allocations: 0.8125 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0006182/1.023, allocations: 221.4 kB / 1.095 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/1.023, allocations: 53.73 kB / 1.095 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000787/1.024, allocations: 0.5137 MB / 1.096 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/1.024, allocations: 27.41 kB / 1.096 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/1.024, allocations: 167.6 kB / 1.096 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.327e-05/1.024, allocations: 38.08 kB / 1.096 GB, free: 484 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/1.024, allocations: 70.23 kB / 1.096 GB, free: 444 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001062/1.025, allocations: 348.7 kB / 1.096 GB, free: 108 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/1.025, allocations: 96.36 kB / 1.096 GB, free: 80 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002469/1.025, allocations: 140 kB / 1.096 GB, free: 12 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004291/1.025, allocations: 182.3 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.025, allocations: 3.938 kB / 1.097 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006468/1.026, allocations: 318.7 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/1.026, allocations: 9.766 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/1.026, allocations: 5.062 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/1.026, allocations: 2.188 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/1.026, allocations: 51.42 kB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/1.026, allocations: 5.531 kB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/1.027, allocations: 19.7 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/1.027, allocations: 10.77 kB / 1.097 GB, free: 15.77 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.000207/1.027, allocations: 175.5 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/1.027, allocations: 34.5 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.32e-05/1.027, allocations: 41.62 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/1.027, allocations: 2.734 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/1.027, allocations: 0 / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/1.027, allocations: 0.7969 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003754/1.027, allocations: 303.9 kB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.027, allocations: 0 / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.984e-05/1.028, allocations: 12.94 kB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/1.028, allocations: 5.219 kB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/1.028, allocations: 4.172 kB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/1.028, allocations: 5 kB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.028, allocations: 0 / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004414/1.028, allocations: 211.4 kB / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/1.028, allocations: 120.7 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.016e-05/1.028, allocations: 14.19 kB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.788e-05/1.028, allocations: 6.141 kB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.058e-05/1.028, allocations: 16.58 kB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/1.029, allocations: 10.05 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004229/1.029, allocations: 319 kB / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/1.029, allocations: 0 / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003295/1.029, allocations: 53.33 kB / 1.098 GB, free: 14.92 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.001136/1.03, allocations: 424.3 kB / 1.099 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005072/1.031, allocations: 190.6 kB / 1.099 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.031, allocations: 0.7812 kB / 1.099 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001753/1.031, allocations: 67.88 kB / 1.099 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005414/1.032, allocations: 96.14 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/1.033, allocations: 0.5184 MB / 1.1 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/1.033, allocations: 0.7862 MB / 1.1 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001788/1.033, allocations: 48.61 kB / 1.1 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/1.034, allocations: 39.91 kB / 1.1 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of SimCode: time 7.01e-07/1.034, allocations: 0 / 1.1 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of Templates: time 0.01131/1.045, allocations: 4.182 MB / 1.104 GB, free: 13.18 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