Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.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.001907/0.001907, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002369/0.002369, allocations: 222.9 kB / 23 MB, free: 4.914 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.557/1.557, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.867/2.867, allocations: 476 MB / 0.7707 GB, free: 4.746 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") [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.002076/0.002076, allocations: 67.38 kB / 1.118 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2897, allocations: 169.9 MB / 1.284 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001939/0.2916, allocations: 0.6988 MB / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.2927, allocations: 0.8627 MB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.797e-05/0.2928, allocations: 0 / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.289e-05/0.2928, allocations: 3.938 kB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.488e-05/0.2929, allocations: 7.938 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001379/0.293, allocations: 27.97 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.591e-05/0.2931, allocations: 39.92 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.05e-05/0.2932, allocations: 15.97 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.322e-05/0.2932, allocations: 19.92 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.326e-05/0.2933, allocations: 19.92 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.2933, allocations: 4 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.278e-05/0.2933, allocations: 4 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.414e-05/0.2934, allocations: 15.92 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.023e-05/0.2934, allocations: 15.92 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.2935, allocations: 55.73 kB / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2935, allocations: 4 kB / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2935, allocations: 0 / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2935, allocations: 0 / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004964/0.294, allocations: 270.3 kB / 1.286 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.294, allocations: 12.03 kB / 1.286 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.2941, allocations: 8.891 kB / 1.286 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.2942, allocations: 110.5 kB / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.2942, allocations: 4.375 kB / 1.286 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.2942, allocations: 384 / 1.286 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.2944, allocations: 81.56 kB / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2944, allocations: 0 / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.2945, allocations: 7.938 kB / 1.286 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.2945, allocations: 0 / 1.286 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002154/0.2947, allocations: 55.83 kB / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.2951, allocations: 228.4 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.2953, allocations: 62.53 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.2954, allocations: 40.91 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.2954, allocations: 3.938 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.2955, allocations: 34.55 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2955, allocations: 0 / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004186/0.2959, allocations: 105.6 kB / 1.287 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.2959, allocations: 55.41 kB / 1.287 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.965e-05/0.296, allocations: 105.8 kB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.296, allocations: 29.7 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.311e-05/0.2961, allocations: 88.09 kB / 1.287 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.2961, allocations: 7.953 kB / 1.287 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.2962, allocations: 21.7 kB / 1.287 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.2963, allocations: 318.8 kB / 1.287 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.2964, allocations: 23.97 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.2965, allocations: 27.92 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.2967, allocations: 52.81 kB / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2967, allocations: 4 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002467/0.297, allocations: 85.59 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.297, allocations: 8 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.297, allocations: 0 / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.297, allocations: 0 / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.2971, allocations: 15.98 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2971, allocations: 0 / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.707e-05/0.2972, allocations: 7.984 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.2972, allocations: 8 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,abs1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.899e-05/0.2973, allocations: 113.7 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.2973, allocations: 4 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.499e-05/0.2974, allocations: 8 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2974, allocations: 0 / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2974, allocations: 3.984 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2974, allocations: 0 / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.2975, allocations: 137.1 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2975, allocations: 256 / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.77e-05/0.2976, allocations: 15.98 kB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2976, allocations: 4 kB / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-06/0.2976, allocations: 0 / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2976, allocations: 0 / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2976, allocations: 4 kB / 1.288 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003097/0.298, allocations: 187.3 kB / 1.288 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.04e-05/0.298, allocations: 4 kB / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.298, allocations: 4.375 kB / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.634e-05/0.2981, allocations: 7.984 kB / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/0.2981, allocations: 11.98 kB / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.2981, allocations: 4 kB / 1.288 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.067e-05/0.2982, allocations: 83.27 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.2982, allocations: 0 / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002268/0.2984, allocations: 15.95 kB / 1.288 GB, free: 7.5 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001179/0.2985, allocations: 99.23 kB / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002699/0.2988, allocations: 51.94 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2988, allocations: 0 / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.2989, allocations: 39.92 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.2992, allocations: 10.11 kB / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003499/0.2995, allocations: 153.1 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.266e-05/0.2996, allocations: 63.34 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.881e-05/0.2997, allocations: 15.42 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.2997, allocations: 0 / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of Templates: time 0.00242/0.3021, allocations: 0.8189 MB / 1.289 GB, free: 6.203 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.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.253644946962595]