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.001561/0.001561, 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.00218/0.00218, allocations: 219.7 kB / 23.01 MB, free: 4.609 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.722/2.722, allocations: 476.8 MB / 0.7714 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] 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.002046/0.002046, allocations: 62.91 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3313, allocations: 170 MB / 1.285 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001956/0.3333, allocations: 0.6974 MB / 1.285 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.3344, allocations: 0.8706 MB / 1.286 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.616e-05/0.3345, allocations: 3.938 kB / 1.286 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.974e-05/0.3345, allocations: 3.938 kB / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.5e-05/0.3346, allocations: 7.922 kB / 1.286 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001541/0.3347, allocations: 27.97 kB / 1.286 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.3348, allocations: 43.91 kB / 1.286 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.3349, allocations: 8 kB / 1.286 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.044e-05/0.335, allocations: 27.91 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.357e-05/0.3351, allocations: 27.91 kB / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.3351, allocations: 4 kB / 1.286 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.212e-05/0.3351, allocations: 8 kB / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.3352, allocations: 7.938 kB / 1.286 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.765e-05/0.3352, allocations: 23.86 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.3353, allocations: 47.8 kB / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3353, allocations: 0 / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3353, allocations: 0 / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.3353, allocations: 0 / 1.286 GB, free: 9.41 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.0005187/0.3358, allocations: 274.3 kB / 1.287 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3359, allocations: 8.031 kB / 1.287 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.3359, allocations: 12.89 kB / 1.287 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.336, allocations: 110.5 kB / 1.287 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.3361, allocations: 8.359 kB / 1.287 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.3361, allocations: 4.375 kB / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.3363, allocations: 73.52 kB / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3363, allocations: 0 / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.3363, allocations: 0 / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.3363, allocations: 4 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.3365, allocations: 59.89 kB / 1.287 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004409/0.337, allocations: 259.8 kB / 1.287 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.3372, allocations: 66.47 kB / 1.287 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.3373, allocations: 28.92 kB / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.3373, allocations: 12 kB / 1.287 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.3373, allocations: 34.55 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.3373, allocations: 0 / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004266/0.3377, allocations: 105.6 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.3378, allocations: 55.34 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.3379, allocations: 105.8 kB / 1.288 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.3379, allocations: 29.7 kB / 1.288 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.884e-05/0.338, allocations: 96.03 kB / 1.288 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.338, allocations: 3.953 kB / 1.288 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.562e-05/0.338, allocations: 21.7 kB / 1.288 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3382, allocations: 314.8 kB / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.3383, allocations: 27.97 kB / 1.288 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.038e-05/0.3384, allocations: 23.98 kB / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.3386, allocations: 52.81 kB / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3386, allocations: 4 kB / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002388/0.3388, allocations: 89.59 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.3388, allocations: 4 kB / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.3388, allocations: 0 / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3389, allocations: 0 / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.339, allocations: 15.92 kB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.339, allocations: 4 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.392e-05/0.3391, allocations: 7.984 kB / 1.288 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.3391, allocations: 4 kB / 1.288 GB, free: 7.344 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 8.972e-05/0.3392, allocations: 117.7 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.3392, allocations: 4 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/0.3392, allocations: 8 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.3392, allocations: 4.312 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.3392, allocations: 0 / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3392, allocations: 4 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.3394, allocations: 156.5 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3394, allocations: 0 / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.059e-05/0.3395, allocations: 11.98 kB / 1.289 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.3395, allocations: 4 kB / 1.289 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.3395, allocations: 3.984 kB / 1.289 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3395, allocations: 0 / 1.289 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3395, allocations: 0 / 1.289 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.3398, allocations: 191.4 kB / 1.289 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.017e-05/0.3398, allocations: 4 kB / 1.289 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.3398, allocations: 256 / 1.289 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.761e-05/0.3399, allocations: 11.98 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.34, allocations: 11.98 kB / 1.289 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.34, allocations: 0 / 1.289 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.691e-05/0.34, allocations: 83.28 kB / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.34, allocations: 0 / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000221/0.3403, allocations: 19.89 kB / 1.289 GB, free: 6.648 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.0001113/0.3404, allocations: 99.23 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002517/0.3406, allocations: 55.89 kB / 1.289 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3406, allocations: 3.938 kB / 1.289 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.3407, allocations: 31.97 kB / 1.289 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.341, allocations: 8 kB / 1.289 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003689/0.3414, allocations: 156.6 kB / 1.289 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.3417, allocations: 0.6807 MB / 1.29 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.3418, allocations: 7.438 kB / 1.29 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3418, allocations: 0 / 1.29 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of Templates: time 0.002377/0.3441, allocations: 0.8267 MB / 1.291 GB, free: 4.727 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: 10.762710530980257]