Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001885/0.001885, allocations: 83.75 kB / 20.23 MB, free: 4.039 MB / 18.57 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.002562/0.002562, allocations: 157.4 kB / 23.55 MB, free: 0.7266 MB / 18.57 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.582/1.582, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.902/2.902, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.7864 GB, free: 11.67 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.329e-05, allocations: 3.078 kB / 0.7864 GB, free: 11.67 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003524/0.003547, allocations: 2.006 MB / 0.7883 GB, free: 9.668 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00249/0.006038, allocations: 1.301 MB / 0.7896 GB, free: 8.367 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.00614, allocations: 7.938 kB / 0.7896 GB, free: 8.359 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004607/0.0066, allocations: 164.5 kB / 0.7898 GB, free: 8.199 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004667/0.007067, allocations: 213 kB / 0.79 GB, free: 7.992 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.007413, allocations: 163.4 kB / 0.7901 GB, free: 7.832 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004527/0.007866, allocations: 343 kB / 0.7905 GB, free: 7.496 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.008008, allocations: 41.69 kB / 0.7905 GB, free: 7.457 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002928/0.0083, allocations: 183.5 kB / 0.7907 GB, free: 7.277 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.008543, allocations: 148.2 kB / 0.7908 GB, free: 7.133 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.516e-05/0.008588, allocations: 16.69 kB / 0.7908 GB, free: 7.117 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.008726, allocations: 55.97 kB / 0.7909 GB, free: 7.062 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.008865, allocations: 96.52 kB / 0.791 GB, free: 6.969 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.008975, allocations: 67.78 kB / 0.7911 GB, free: 6.902 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005136/0.009489, allocations: 391.2 kB / 0.7914 GB, free: 6.52 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.009492, allocations: 4 kB / 0.7914 GB, free: 6.516 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.41e-07/0.009493, allocations: 1.656 kB / 0.7914 GB, free: 6.516 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.009498, allocations: 0 / 0.7914 GB, free: 6.516 MB / 0.698 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.001347/0.01085, allocations: 0.6932 MB / 0.7921 GB, free: 5.785 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.01089, allocations: 8.031 kB / 0.7921 GB, free: 5.777 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.01105, allocations: 50.23 kB / 0.7922 GB, free: 5.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000783/0.01183, allocations: 295 kB / 0.7924 GB, free: 5.418 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.825e-05/0.01187, allocations: 20.11 kB / 0.7925 GB, free: 5.398 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.0119, allocations: 8 kB / 0.7925 GB, free: 5.391 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.01224, allocations: 103.8 kB / 0.7926 GB, free: 5.289 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.01225, allocations: 0 / 0.7926 GB, free: 5.289 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.01227, allocations: 4 kB / 0.7926 GB, free: 5.285 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.01229, allocations: 4 kB / 0.7926 GB, free: 5.281 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002421/0.01253, allocations: 51.91 kB / 0.7926 GB, free: 5.23 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.01383, allocations: 0.4994 MB / 0.7931 GB, free: 4.695 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004661/0.0143, allocations: 119.2 kB / 0.7932 GB, free: 4.566 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.01446, allocations: 44.39 kB / 0.7933 GB, free: 4.52 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.01449, allocations: 4.812 kB / 0.7933 GB, free: 4.516 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003278/0.01482, allocations: 109 kB / 0.7934 GB, free: 4.395 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.01482, allocations: 0.875 kB / 0.7934 GB, free: 4.395 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.000793/0.01561, allocations: 216.5 kB / 0.7936 GB, free: 4.18 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.01567, allocations: 55.88 kB / 0.7936 GB, free: 4.113 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009878/0.01666, allocations: 0.5338 MB / 0.7942 GB, free: 3.562 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.479e-05/0.01671, allocations: 35.08 kB / 0.7942 GB, free: 3.523 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003064/0.01701, allocations: 247.2 kB / 0.7944 GB, free: 3.277 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.23e-05/0.01708, allocations: 43.69 kB / 0.7945 GB, free: 3.234 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002171/0.0173, allocations: 92.89 kB / 0.7946 GB, free: 3.133 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0005614/0.01786, allocations: 0.5509 MB / 0.7951 GB, free: 2.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.0181, allocations: 64.53 kB / 0.7952 GB, free: 2.508 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003166/0.01842, allocations: 112.1 kB / 0.7953 GB, free: 2.387 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004718/0.01889, allocations: 164.3 kB / 0.7954 GB, free: 2.215 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.01889, allocations: 0 / 0.7954 GB, free: 2.215 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008069/0.0197, allocations: 272.1 kB / 0.7957 GB, free: 1.945 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.01972, allocations: 4 kB / 0.7957 GB, free: 1.941 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.01973, allocations: 4.875 kB / 0.7957 GB, free: 1.938 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.01974, allocations: 0 / 0.7957 GB, free: 1.938 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/0.0201, allocations: 57.25 kB / 0.7957 GB, free: 1.883 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.02012, allocations: 3.938 kB / 0.7958 GB, free: 1.879 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.02031, allocations: 19.89 kB / 0.7958 GB, free: 1.859 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.781e-05/0.02036, allocations: 13.2 kB / 0.7958 GB, free: 1.848 MB / 0.698 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.0002539/0.02062, allocations: 184.5 kB / 0.796 GB, free: 1.656 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.34e-05/0.02071, allocations: 39.77 kB / 0.796 GB, free: 1.617 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006137/0.02132, allocations: 185.9 kB / 0.7962 GB, free: 1.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.02133, allocations: 4 kB / 0.7962 GB, free: 1.426 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.02134, allocations: 4.938 kB / 0.7962 GB, free: 1.422 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.02135, allocations: 3.984 kB / 0.7962 GB, free: 1.418 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005139/0.02186, allocations: 296.4 kB / 0.7965 GB, free: 1.094 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.02186, allocations: 0.9375 kB / 0.7965 GB, free: 1.094 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.022, allocations: 23.98 kB / 0.7965 GB, free: 1.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.022, allocations: 1.125 kB / 0.7965 GB, free: 1.07 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.02202, allocations: 0 / 0.7965 GB, free: 1.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.02202, allocations: 4 kB / 0.7965 GB, free: 1.066 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.02203, allocations: 1.469 kB / 0.7965 GB, free: 1.066 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006048/0.02263, allocations: 234.8 kB / 0.7967 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.02276, allocations: 43.75 kB / 0.7968 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.073e-05/0.02282, allocations: 4 kB / 0.7968 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.02296, allocations: 8.469 kB / 0.7968 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.767e-05/0.02306, allocations: 24.53 kB / 0.7968 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/0.02309, allocations: 11.92 kB / 0.7968 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005544/0.02364, allocations: 323.6 kB / 0.7971 GB, free: 420 kB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.02364, allocations: 0.8125 kB / 0.7971 GB, free: 420 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005044/0.02415, allocations: 51.94 kB / 0.7972 GB, free: 368 kB / 0.698 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.004116/0.02826, allocations: 445.5 kB / 0.7976 GB, free: 116 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006442/0.02891, allocations: 175.7 kB / 0.7978 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.02891, allocations: 5.344 kB / 0.7978 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.02915, allocations: 63.66 kB / 0.7978 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007515/0.0299, allocations: 99.31 kB / 0.7979 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.03122, allocations: 0.4893 MB / 0.7984 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.03151, allocations: 189.4 kB / 0.7986 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001899/0.0317, allocations: 42.95 kB / 0.7986 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.03186, allocations: 40.48 kB / 0.7987 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of SimCode: time 9.32e-07/0.03186, allocations: 0 / 0.7987 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of Templates: time 0.01524/0.0471, allocations: 4.515 MB / 0.8031 GB, free: 10.54 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.992725347983651]