Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.00166/0.00166, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00204/0.00204, allocations: 213.3 kB / 23.01 MB, free: 5.125 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.188/3.188, allocations: 0.49 GB / 0.7958 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 63.81 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3657, allocations: 176.1 MB / 1.327 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002153/0.3678, allocations: 0.7926 MB / 1.328 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.369, allocations: 0.8977 MB / 1.329 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.271e-05/0.3691, allocations: 0 / 1.329 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.57e-05/0.3691, allocations: 11.86 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.335e-05/0.3692, allocations: 7.938 kB / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.3694, allocations: 39.88 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.3695, allocations: 83.83 kB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.3696, allocations: 27.97 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.869e-05/0.3697, allocations: 35.86 kB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.56e-05/0.3698, allocations: 47.83 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.965e-05/0.3698, allocations: 11.98 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.428e-05/0.3699, allocations: 8 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.152e-05/0.3699, allocations: 19.92 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.974e-05/0.3699, allocations: 35.8 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.3701, allocations: 87.66 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3701, allocations: 0 / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3701, allocations: 0 / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.3701, allocations: 0 / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000652/0.3707, allocations: 322 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.3708, allocations: 12.03 kB / 1.33 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.3708, allocations: 8.891 kB / 1.33 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.371, allocations: 126.4 kB / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.371, allocations: 8.312 kB / 1.33 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.371, allocations: 8.375 kB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000316/0.3713, allocations: 114.4 kB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3713, allocations: 0 / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.3713, allocations: 4 kB / 1.33 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.3713, allocations: 3.984 kB / 1.33 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003547/0.3717, allocations: 95.91 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005695/0.3723, allocations: 307.7 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006148/0.3729, allocations: 122.5 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.3731, allocations: 48.81 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.3731, allocations: 15.97 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.3731, allocations: 34.56 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.3731, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006453/0.3738, allocations: 177.5 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.3738, allocations: 55.41 kB / 1.331 GB, free: 13.78 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.3739, allocations: 129.7 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.3739, allocations: 25.7 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.789e-05/0.374, allocations: 96.09 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.374, allocations: 15.83 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-05/0.3741, allocations: 29.64 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3742, allocations: 314.8 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.3744, allocations: 47.95 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.3746, allocations: 47.95 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000338/0.3749, allocations: 101.2 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3749, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004012/0.3753, allocations: 141.5 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3753, allocations: 4 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3753, allocations: 3.984 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.3754, allocations: 0 / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.3755, allocations: 31.84 kB / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.3755, allocations: 0 / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.3756, allocations: 27.88 kB / 1.332 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.3757, allocations: 4 kB / 1.332 GB, free: 12.73 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001061/0.3758, allocations: 114.5 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.3758, allocations: 4 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.496e-05/0.3758, allocations: 16.36 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3758, allocations: 0 / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3758, allocations: 0 / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.3758, allocations: 3.938 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.3761, allocations: 172.6 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3761, allocations: 4 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.3762, allocations: 23.97 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3762, allocations: 0 / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.3762, allocations: 0 / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3762, allocations: 0 / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3762, allocations: 4 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000472/0.3767, allocations: 247.3 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.397e-05/0.3767, allocations: 3.938 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.3767, allocations: 0 / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.3769, allocations: 11.98 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.404e-05/0.377, allocations: 27.91 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.377, allocations: 3.984 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.522e-05/0.377, allocations: 103.6 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.377, allocations: 4 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002281/0.3773, allocations: 15.95 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0001174/0.3774, allocations: 95.23 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004176/0.3778, allocations: 103.8 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3778, allocations: 7.938 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.378, allocations: 55.94 kB / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.3783, allocations: 12 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004691/0.3788, allocations: 196 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.3791, allocations: 0.6962 MB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.354e-05/0.3792, allocations: 23.38 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of SimCode: time 3.5e-07/0.3792, allocations: 0 / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of Templates: time 0.003016/0.3822, allocations: 1.237 MB / 1.335 GB, free: 9.438 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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: 11.156607304990757]