Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001833/0.001833, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002189/0.002189, allocations: 215.6 kB / 22.25 MB, free: 5.254 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.622/1.622, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.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 3.611/3.611, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_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_latest_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.002766/0.002766, allocations: 64.48 kB / 1.186 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5108/0.5136, allocations: 181.9 MB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002427/0.516, allocations: 0.7671 MB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.5173, allocations: 0.886 MB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.962e-05/0.5174, allocations: 0 / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.861e-05/0.5174, allocations: 7.875 kB / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.477e-05/0.5175, allocations: 19.86 kB / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.5177, allocations: 35.95 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.5179, allocations: 79.83 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.518, allocations: 23.97 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.5181, allocations: 39.84 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.453e-05/0.5182, allocations: 43.83 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.5182, allocations: 8 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.119e-05/0.5182, allocations: 8 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.298e-05/0.5183, allocations: 19.91 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.757e-05/0.5183, allocations: 35.86 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.5185, allocations: 91.59 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5185, allocations: 0 / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5185, allocations: 0 / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.5185, allocations: 0 / 1.366 GB, free: 11.47 MB / 1.061 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.0006967/0.5192, allocations: 322 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.5192, allocations: 8.031 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/0.5193, allocations: 8.891 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.5194, allocations: 122.4 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.5195, allocations: 8.375 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.5195, allocations: 8.375 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003524/0.5198, allocations: 109.5 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.5198, allocations: 0 / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.5198, allocations: 4 kB / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.5199, allocations: 0 / 1.366 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003938/0.5202, allocations: 95.89 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/0.5208, allocations: 268.4 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006335/0.5214, allocations: 118.6 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.5217, allocations: 60.78 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.5217, allocations: 7.938 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.5217, allocations: 34.56 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.5217, allocations: 4 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.000691/0.5224, allocations: 181.5 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.5225, allocations: 51.41 kB / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.5226, allocations: 121.8 kB / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.242e-05/0.5227, allocations: 25.7 kB / 1.367 GB, free: 9.797 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.965e-05/0.5227, allocations: 100.1 kB / 1.367 GB, free: 9.695 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.5227, allocations: 19.8 kB / 1.367 GB, free: 9.676 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.268e-05/0.5228, allocations: 25.7 kB / 1.367 GB, free: 9.645 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.523, allocations: 322.8 kB / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.5232, allocations: 43.95 kB / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.5233, allocations: 43.95 kB / 1.368 GB, free: 9.234 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.5237, allocations: 108.7 kB / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5237, allocations: 0 / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004228/0.5241, allocations: 141.5 kB / 1.368 GB, free: 8.98 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.5241, allocations: 4 kB / 1.368 GB, free: 8.977 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.5241, allocations: 0 / 1.368 GB, free: 8.977 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.5241, allocations: 0 / 1.368 GB, free: 8.977 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.5243, allocations: 27.97 kB / 1.368 GB, free: 8.949 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.227e-05/0.5243, allocations: 4 kB / 1.368 GB, free: 8.945 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.5244, allocations: 7.984 kB / 1.368 GB, free: 8.938 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.5245, allocations: 15.94 kB / 1.368 GB, free: 8.922 MB / 1.061 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.0001075/0.5246, allocations: 113.8 kB / 1.368 GB, free: 8.801 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.5246, allocations: 15.88 kB / 1.368 GB, free: 8.785 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.328e-05/0.5246, allocations: 8.375 kB / 1.368 GB, free: 8.773 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.5246, allocations: 0 / 1.368 GB, free: 8.773 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5246, allocations: 4 kB / 1.368 GB, free: 8.77 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.5247, allocations: 4 kB / 1.368 GB, free: 8.766 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.5249, allocations: 133.2 kB / 1.368 GB, free: 8.605 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5249, allocations: 0 / 1.368 GB, free: 8.605 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.525, allocations: 23.97 kB / 1.368 GB, free: 8.582 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.525, allocations: 0 / 1.368 GB, free: 8.582 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.5251, allocations: 0 / 1.368 GB, free: 8.582 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5251, allocations: 0 / 1.368 GB, free: 8.582 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.5251, allocations: 0 / 1.368 GB, free: 8.582 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004908/0.5256, allocations: 247.3 kB / 1.369 GB, free: 8.324 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2e-05/0.5256, allocations: 7.891 kB / 1.369 GB, free: 8.316 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.5256, allocations: 3.984 kB / 1.369 GB, free: 8.312 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.5257, allocations: 15.92 kB / 1.369 GB, free: 8.297 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.808e-05/0.5258, allocations: 23.97 kB / 1.369 GB, free: 8.273 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.5258, allocations: 0 / 1.369 GB, free: 8.273 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.387e-05/0.5259, allocations: 103.2 kB / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5259, allocations: 0 / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002357/0.5261, allocations: 16 kB / 1.369 GB, free: 8.156 MB / 1.061 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.0001317/0.5263, allocations: 95.19 kB / 1.369 GB, free: 8.055 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004358/0.5267, allocations: 104.5 kB / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5267, allocations: 0 / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.5269, allocations: 67.83 kB / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.5273, allocations: 12.3 kB / 1.369 GB, free: 7.875 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004563/0.5277, allocations: 170.4 kB / 1.369 GB, free: 7.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.913e-05/0.5278, allocations: 71.33 kB / 1.369 GB, free: 7.59 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.091e-05/0.5279, allocations: 15.98 kB / 1.369 GB, free: 7.574 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.424e-05/0.5279, allocations: 19.44 kB / 1.369 GB, free: 7.555 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.5279, allocations: 0 / 1.369 GB, free: 7.555 MB / 1.061 GB Notification: Performance of Templates: time 0.004917/0.5329, allocations: 1.743 MB / 1.371 GB, free: 5.84 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.032989641651511]