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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 81.42 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 164.6 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.521/1.521, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.899/2.899, allocations: 389 MB / 0.633 GB, free: 0.9922 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|product.u1|product.u2|product.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.328e-06/4.328e-06, allocations: 0 / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.87e-05/4.303e-05, allocations: 5.375 kB / 1 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.00541/0.005453, allocations: 1.981 MB / 1.002 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003598/0.009051, allocations: 1.278 MB / 1.003 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001802/0.009231, allocations: 4 kB / 1.003 GB, free: 4 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006231/0.009854, allocations: 167.3 kB / 1.003 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0007297/0.01058, allocations: 219 kB / 1.004 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000544/0.01113, allocations: 163.5 kB / 1.004 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000618/0.01175, allocations: 343 kB / 1.004 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.01193, allocations: 32.92 kB / 1.004 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004061/0.01233, allocations: 191.5 kB / 1.004 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003451/0.01268, allocations: 143.7 kB / 1.005 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.655e-05/0.01274, allocations: 16 kB / 1.005 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001984/0.01293, allocations: 59.91 kB / 1.005 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.01312, allocations: 95.67 kB / 1.005 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.01327, allocations: 75.7 kB / 1.005 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006887/0.01396, allocations: 378.7 kB / 1.005 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.01396, allocations: 0 / 1.005 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.014e-06/0.01396, allocations: 0 / 1.005 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.397e-06/0.01397, allocations: 4 kB / 1.005 GB, free: 2.148 MB / 0.9512 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.001422/0.0154, allocations: 0.5702 MB / 1.006 GB, free: 1.547 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.01544, allocations: 8.031 kB / 1.006 GB, free: 1.539 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.01557, allocations: 36.7 kB / 1.006 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007684/0.01634, allocations: 328.1 kB / 1.006 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/0.01637, allocations: 16.06 kB / 1.006 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.0164, allocations: 4 kB / 1.006 GB, free: 1.137 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003797/0.01678, allocations: 113.5 kB / 1.006 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.01679, allocations: 0 / 1.006 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.01681, allocations: 0 / 1.006 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.01682, allocations: 8 kB / 1.006 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002852/0.0171, allocations: 63.95 kB / 1.006 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.01822, allocations: 428.1 kB / 1.007 GB, free: 0.5 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005361/0.01876, allocations: 130.8 kB / 1.007 GB, free: 372 kB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.01895, allocations: 48.83 kB / 1.007 GB, free: 320 kB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.798e-05/0.01899, allocations: 7.938 kB / 1.007 GB, free: 312 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003492/0.01934, allocations: 107.3 kB / 1.007 GB, free: 192 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 2.014e-06/0.01934, allocations: 0 / 1.007 GB, free: 192 kB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0008973/0.02023, allocations: 238.9 kB / 1.007 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.506e-05/0.02031, allocations: 59.34 kB / 1.007 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.02133, allocations: 0.5366 MB / 1.008 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.483e-05/0.02137, allocations: 29.64 kB / 1.008 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/0.02158, allocations: 168.5 kB / 1.008 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.283e-05/0.02165, allocations: 39.73 kB / 1.008 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.02181, allocations: 73.91 kB / 1.008 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002486/0.02206, allocations: 346.8 kB / 1.008 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003087/0.02237, allocations: 108.5 kB / 1.008 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/0.02273, allocations: 139.6 kB / 1.009 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005458/0.02327, allocations: 186.5 kB / 1.009 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.02327, allocations: 0 / 1.009 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009188/0.02419, allocations: 337.3 kB / 1.009 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.02422, allocations: 8 kB / 1.009 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.02423, allocations: 4.062 kB / 1.009 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.02425, allocations: 0 / 1.009 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003729/0.02462, allocations: 51.97 kB / 1.009 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.699e-05/0.02464, allocations: 11.88 kB / 1.009 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.02486, allocations: 15.89 kB / 1.009 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.295e-05/0.02491, allocations: 15.98 kB / 1.009 GB, free: 13.78 MB / 0.9669 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.0003103/0.02522, allocations: 186.3 kB / 1.009 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.769e-05/0.02532, allocations: 39.7 kB / 1.009 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007149/0.02603, allocations: 208.7 kB / 1.01 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.02604, allocations: 0 / 1.01 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.02605, allocations: 3.938 kB / 1.01 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.02606, allocations: 4 kB / 1.01 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004192/0.02648, allocations: 229.2 kB / 1.01 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.02648, allocations: 0 / 1.01 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.02661, allocations: 15.98 kB / 1.01 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.02662, allocations: 0 / 1.01 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.02664, allocations: 8 kB / 1.01 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.02664, allocations: 0 / 1.01 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.02665, allocations: 0 / 1.01 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000659/0.02731, allocations: 243.7 kB / 1.01 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.02742, allocations: 39.75 kB / 1.01 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.331e-05/0.02748, allocations: 4 kB / 1.01 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.02765, allocations: 11.98 kB / 1.01 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.02776, allocations: 19.97 kB / 1.01 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/0.02778, allocations: 7.938 kB / 1.01 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006407/0.02842, allocations: 327.1 kB / 1.01 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.02842, allocations: 0 / 1.01 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005286/0.02895, allocations: 67.81 kB / 1.011 GB, free: 12.33 MB / 0.9669 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 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.002433/0.03139, allocations: 453.8 kB / 1.011 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006796/0.03207, allocations: 187.8 kB / 1.011 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.03207, allocations: 0 / 1.011 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000224/0.03229, allocations: 67.84 kB / 1.011 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006824/0.03297, allocations: 90.52 kB / 1.011 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.03431, allocations: 0.5607 MB / 1.012 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.03461, allocations: 187.8 kB / 1.012 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002027/0.03481, allocations: 62.92 kB / 1.012 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.03495, allocations: 40.48 kB / 1.012 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of SimCode: time 4.71e-07/0.03495, allocations: 0 / 1.012 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of Templates: time 0.01289/0.04784, allocations: 4.482 MB / 1.017 GB, free: 6.41 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.4570940323174]