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.001414/0.001414, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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.001466/0.001466, allocations: 196.1 kB / 16.26 MB, free: 6.629 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.588/1.588, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.913/2.913, allocations: 437 MB / 0.7101 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 63.91 kB / 0.8687 GB, free: 5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7321/0.7341, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.004041/0.7382, allocations: 2.046 MB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002256/0.7404, allocations: 1.193 MB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.7406, allocations: 3.938 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005034/0.7411, allocations: 151.6 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003505/0.7415, allocations: 143.5 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005334/0.742, allocations: 203.4 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003902/0.7424, allocations: 311.2 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.7426, allocations: 48.38 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.7428, allocations: 147.4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002742/0.7431, allocations: 155.4 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.7432, allocations: 12 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.7433, allocations: 55.97 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.7434, allocations: 91.67 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.7436, allocations: 123.2 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004352/0.744, allocations: 364.8 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.7441, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7441, allocations: 4 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.7441, allocations: 0 / 1.022 GB, free: 13.68 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.001133/0.7452, allocations: 0.6185 MB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.971e-05/0.7453, allocations: 8.031 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.48e-05/0.7454, allocations: 36.47 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005474/0.7459, allocations: 374.2 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.746, allocations: 16 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.746, allocations: 7.984 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002689/0.7463, allocations: 113.5 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.7463, allocations: 0 / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.7463, allocations: 0 / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.7463, allocations: 4 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.7465, allocations: 69.19 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000974/0.7475, allocations: 492.4 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003534/0.7479, allocations: 138.7 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.748, allocations: 56.83 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.124e-05/0.748, allocations: 3.984 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002683/0.7483, allocations: 111.3 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.634e-06/0.7483, allocations: 0 / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0005815/0.7489, allocations: 221.2 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.749, allocations: 55.41 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006651/0.7497, allocations: 0.5131 MB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.7497, allocations: 33.7 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.7499, allocations: 164.4 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.278e-05/0.7499, allocations: 35.55 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.7501, allocations: 69.97 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002019/0.7503, allocations: 342.8 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.7505, allocations: 104.5 kB / 1.025 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.7507, allocations: 139.6 kB / 1.025 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/0.7511, allocations: 178.5 kB / 1.025 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.7511, allocations: 0 / 1.025 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005862/0.7517, allocations: 318.6 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.7517, allocations: 8 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.7517, allocations: 8 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.7518, allocations: 0 / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.752, allocations: 51.91 kB / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.752, allocations: 4 kB / 1.026 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.7522, allocations: 19.83 kB / 1.026 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-05/0.7522, allocations: 12 kB / 1.026 GB, free: 9.176 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.0002428/0.7525, allocations: 190.5 kB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.913e-05/0.7525, allocations: 27.62 kB / 1.026 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.508e-05/0.7526, allocations: 43.06 kB / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.7526, allocations: 0 / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.7526, allocations: 0 / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.7527, allocations: 0 / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003914/0.753, allocations: 305.4 kB / 1.026 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.7531, allocations: 0 / 1.026 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.039e-05/0.7531, allocations: 23.92 kB / 1.026 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.7532, allocations: 0 / 1.026 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.7532, allocations: 7.938 kB / 1.026 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.7532, allocations: 0 / 1.026 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7532, allocations: 0 / 1.026 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004316/0.7536, allocations: 212.2 kB / 1.027 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.7537, allocations: 112.7 kB / 1.027 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.976e-05/0.7538, allocations: 7.938 kB / 1.027 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.419e-05/0.7539, allocations: 15.92 kB / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.562e-05/0.754, allocations: 19.92 kB / 1.027 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.754, allocations: 7.984 kB / 1.027 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003762/0.7544, allocations: 323.1 kB / 1.027 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7544, allocations: 0 / 1.027 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003339/0.7548, allocations: 56 kB / 1.027 GB, free: 7.762 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.001666/0.7564, allocations: 422.5 kB / 1.028 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004937/0.7569, allocations: 204 kB / 1.028 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.7569, allocations: 0 / 1.028 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.7571, allocations: 64.09 kB / 1.028 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005822/0.7577, allocations: 88.03 kB / 1.028 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.7588, allocations: 0.5935 MB / 1.028 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005522/0.7594, allocations: 0.7908 MB / 1.029 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001732/0.7596, allocations: 46.95 kB / 1.029 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.807e-05/0.7597, allocations: 35.42 kB / 1.029 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of SimCode: time 2.565e-06/0.7597, allocations: 0 / 1.029 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of Templates: time 0.009693/0.7694, allocations: 4.011 MB / 1.033 GB, free: 1.676 MB / 0.7794 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