Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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.0008548/0.0008548, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001148/0.002003, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007894/0.0007894, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009816/0.001771, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9992/0.9992, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1022/1.101, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.925/1.925, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5304/2.455, allocations: 123.3 MB / 0.728 GB, free: 5.824 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.905e-05/2.07e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.52 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002635/0.002656, allocations: 2.081 MB / 0.7314 GB, free: 2.453 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.00443, allocations: 1.353 MB / 0.7327 GB, free: 1.109 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.004567, allocations: 7.938 kB / 0.7327 GB, free: 1.102 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.00487, allocations: 159 kB / 0.7328 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003885/0.005259, allocations: 224.3 kB / 0.7331 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003493/0.005608, allocations: 167.4 kB / 0.7332 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003506/0.005959, allocations: 332.8 kB / 0.7335 GB, free: 256 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.006101, allocations: 38.86 kB / 0.7336 GB, free: 216 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007648/0.006866, allocations: 320.2 kB / 0.7339 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.007048, allocations: 124.6 kB / 0.734 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.007076, allocations: 12 kB / 0.734 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.007219, allocations: 55.92 kB / 0.7341 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.82e-05/0.007297, allocations: 84.27 kB / 0.7341 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.894e-05/0.007356, allocations: 48.56 kB / 0.7342 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.007689, allocations: 250.9 kB / 0.7344 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.641e-05/0.007705, allocations: 0.9688 kB / 0.7344 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.363e-06/0.007706, allocations: 0 / 0.7344 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.007721, allocations: 0 / 0.7344 GB, free: 15.38 MB / 0.7136 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.0006774/0.008398, allocations: 0.5927 MB / 0.735 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.008429, allocations: 8.031 kB / 0.735 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.158e-05/0.00848, allocations: 21.58 kB / 0.735 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.008774, allocations: 268.7 kB / 0.7353 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.008795, allocations: 12.38 kB / 0.7353 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.008809, allocations: 9.688 kB / 0.7353 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.008975, allocations: 105.1 kB / 0.7354 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.008982, allocations: 0 / 0.7354 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.008991, allocations: 0 / 0.7354 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.008995, allocations: 0.6875 kB / 0.7354 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.102e-05/0.009046, allocations: 28.17 kB / 0.7354 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.009436, allocations: 266 kB / 0.7357 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.009579, allocations: 125.2 kB / 0.7358 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.246e-05/0.009611, allocations: 21.58 kB / 0.7358 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.009625, allocations: 4.516 kB / 0.7358 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00012/0.009745, allocations: 87.11 kB / 0.7359 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 1.893e-06/0.009747, allocations: 0 / 0.7359 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0001664/0.009913, allocations: 106.5 kB / 0.736 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.009949, allocations: 55.41 kB / 0.7361 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.01019, allocations: 363.5 kB / 0.7364 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.01021, allocations: 29.7 kB / 0.7365 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.945e-05/0.01027, allocations: 137.4 kB / 0.7366 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.0103, allocations: 43.67 kB / 0.7366 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-05/0.01037, allocations: 66.58 kB / 0.7367 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.123e-05/0.01046, allocations: 354.7 kB / 0.737 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.227e-05/0.0105, allocations: 29.16 kB / 0.7371 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.229e-05/0.01056, allocations: 63.66 kB / 0.7371 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.669e-05/0.01065, allocations: 96.91 kB / 0.7372 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01065, allocations: 0.9062 kB / 0.7372 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000156/0.01081, allocations: 149.9 kB / 0.7374 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.01082, allocations: 4 kB / 0.7374 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.01083, allocations: 4.688 kB / 0.7374 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.637e-06/0.01084, allocations: 1.156 kB / 0.7374 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.011, allocations: 63.89 kB / 0.7374 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.011, allocations: 4 kB / 0.7374 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.181e-05/0.01106, allocations: 16.92 kB / 0.7374 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.01108, allocations: 11.92 kB / 0.7375 GB, free: 12.11 MB / 0.7136 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,reaToInt1.y,reaToInt.y,intEqu.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 9.26e-05/0.01117, allocations: 137.9 kB / 0.7376 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.0112, allocations: 23.97 kB / 0.7376 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.01136, allocations: 116.5 kB / 0.7377 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.01136, allocations: 3.984 kB / 0.7377 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.01136, allocations: 0 / 0.7377 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01136, allocations: 1.219 kB / 0.7377 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.0115, allocations: 149.7 kB / 0.7379 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.0115, allocations: 0 / 0.7379 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.234e-05/0.01155, allocations: 28.73 kB / 0.7379 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-05/0.01158, allocations: 35.69 kB / 0.7379 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.01159, allocations: 4.5 kB / 0.7379 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.0116, allocations: 4.75 kB / 0.7379 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.0116, allocations: 0 / 0.7379 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.0116, allocations: 3.938 kB / 0.7379 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.01172, allocations: 135.9 kB / 0.7381 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.01174, allocations: 8 kB / 0.7381 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.876e-05/0.01178, allocations: 4.906 kB / 0.7381 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.01183, allocations: 19.97 kB / 0.7381 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.01184, allocations: 7.984 kB / 0.7381 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001051/0.01195, allocations: 137.2 kB / 0.7382 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01195, allocations: 2.562 kB / 0.7382 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001642/0.01211, allocations: 55.94 kB / 0.7383 GB, free: 11.2 MB / 0.7136 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,intEqu.y,reaToInt.y,reaToInt1.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.001277/0.01339, allocations: 0.5623 MB / 0.7388 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001585/0.01355, allocations: 107.3 kB / 0.7389 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/0.01356, allocations: 8 kB / 0.739 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.124e-05/0.01361, allocations: 40.83 kB / 0.739 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.01387, allocations: 118.8 kB / 0.7391 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006961/0.01456, allocations: 485.5 kB / 0.7396 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.634e-05/0.01463, allocations: 105.3 kB / 0.7397 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.067e-05/0.01472, allocations: 52.94 kB / 0.7397 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.01486, allocations: 112 kB / 0.7398 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of SimCode: time 6.82e-07/0.01486, allocations: 0 / 0.7398 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of Templates: time 0.006985/0.02184, allocations: 4.934 MB / 0.7446 GB, free: 5.188 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.281207111664116]