Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001719/0.001719, 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.002106/0.002106, allocations: 217.6 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.345/3.345, allocations: 0.505 GB / 0.8108 GB, free: 22.03 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.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_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_latest_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.001985/0.001985, allocations: 61.47 kB / 1.178 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3493, allocations: 180.2 MB / 1.354 GB, free: 7.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.00209/0.3514, allocations: 0.7189 MB / 1.355 GB, free: 7.215 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.3525, allocations: 0.8631 MB / 1.356 GB, free: 6.34 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.487e-05/0.3525, allocations: 0 / 1.356 GB, free: 6.34 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.084e-05/0.3525, allocations: 7.922 kB / 1.356 GB, free: 6.332 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.412e-05/0.3526, allocations: 7.938 kB / 1.356 GB, free: 6.324 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001541/0.3528, allocations: 23.92 kB / 1.356 GB, free: 6.301 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.3529, allocations: 43.84 kB / 1.356 GB, free: 6.258 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.353, allocations: 8 kB / 1.356 GB, free: 6.25 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.657e-05/0.3531, allocations: 27.97 kB / 1.356 GB, free: 6.223 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.808e-05/0.3531, allocations: 31.84 kB / 1.356 GB, free: 6.191 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.3532, allocations: 4 kB / 1.356 GB, free: 6.188 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.196e-05/0.3532, allocations: 4 kB / 1.356 GB, free: 6.184 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.261e-05/0.3532, allocations: 8 kB / 1.356 GB, free: 6.176 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.076e-05/0.3532, allocations: 27.84 kB / 1.356 GB, free: 6.148 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.3534, allocations: 47.8 kB / 1.356 GB, free: 6.102 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3534, allocations: 0 / 1.356 GB, free: 6.102 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3534, allocations: 0 / 1.356 GB, free: 6.102 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.3534, allocations: 0 / 1.356 GB, free: 6.102 MB / 1.045 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.0005145/0.3539, allocations: 274.2 kB / 1.356 GB, free: 5.805 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3539, allocations: 12.03 kB / 1.356 GB, free: 5.793 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.3539, allocations: 0.9375 kB / 1.356 GB, free: 5.793 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.3541, allocations: 118.4 kB / 1.356 GB, free: 5.652 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.3541, allocations: 8.375 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.3541, allocations: 384 / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.3543, allocations: 69.59 kB / 1.356 GB, free: 5.57 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.3543, allocations: 0 / 1.356 GB, free: 5.57 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.3543, allocations: 4 kB / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3543, allocations: 0 / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000229/0.3546, allocations: 55.94 kB / 1.356 GB, free: 5.512 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.355, allocations: 263.8 kB / 1.357 GB, free: 5.211 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.3552, allocations: 66.58 kB / 1.357 GB, free: 5.137 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.3553, allocations: 32.88 kB / 1.357 GB, free: 5.102 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.3554, allocations: 3.984 kB / 1.357 GB, free: 5.098 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.3554, allocations: 30.56 kB / 1.357 GB, free: 5.059 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3554, allocations: 0 / 1.357 GB, free: 5.059 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.000436/0.3558, allocations: 113.5 kB / 1.357 GB, free: 4.941 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.3559, allocations: 59.41 kB / 1.357 GB, free: 4.871 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.725e-05/0.356, allocations: 105.8 kB / 1.357 GB, free: 4.758 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.356, allocations: 25.7 kB / 1.357 GB, free: 4.727 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/0.3561, allocations: 88.08 kB / 1.357 GB, free: 4.637 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.3561, allocations: 15.84 kB / 1.357 GB, free: 4.621 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.727e-05/0.3561, allocations: 21.7 kB / 1.357 GB, free: 4.594 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3563, allocations: 314.8 kB / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.3564, allocations: 27.97 kB / 1.358 GB, free: 4.25 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.114e-05/0.3565, allocations: 27.97 kB / 1.358 GB, free: 4.223 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.3566, allocations: 52.81 kB / 1.358 GB, free: 4.168 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3566, allocations: 0 / 1.358 GB, free: 4.168 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002427/0.3569, allocations: 85.59 kB / 1.358 GB, free: 4.078 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3569, allocations: 8 kB / 1.358 GB, free: 4.07 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3569, allocations: 0 / 1.358 GB, free: 4.07 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3569, allocations: 4 kB / 1.358 GB, free: 4.066 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.3571, allocations: 11.98 kB / 1.358 GB, free: 4.055 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.3571, allocations: 0 / 1.358 GB, free: 4.055 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.846e-05/0.3571, allocations: 7.984 kB / 1.358 GB, free: 4.047 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.3571, allocations: 0 / 1.358 GB, free: 4.047 MB / 1.045 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.771e-05/0.3572, allocations: 122.4 kB / 1.358 GB, free: 3.918 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.3573, allocations: 7.938 kB / 1.358 GB, free: 3.91 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.139e-05/0.3573, allocations: 16 kB / 1.358 GB, free: 3.891 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3573, allocations: 0 / 1.358 GB, free: 3.891 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3573, allocations: 256 / 1.358 GB, free: 3.891 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.3573, allocations: 0 / 1.358 GB, free: 3.891 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.3575, allocations: 160.7 kB / 1.358 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3575, allocations: 0 / 1.358 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.472e-05/0.3576, allocations: 11.98 kB / 1.358 GB, free: 3.68 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3576, allocations: 3.938 kB / 1.358 GB, free: 3.676 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.3576, allocations: 0 / 1.358 GB, free: 3.676 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3576, allocations: 0 / 1.358 GB, free: 3.676 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3576, allocations: 4 kB / 1.358 GB, free: 3.672 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.3579, allocations: 187.4 kB / 1.358 GB, free: 3.473 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.3579, allocations: 3.953 kB / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.3579, allocations: 0 / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.925e-05/0.358, allocations: 7.984 kB / 1.358 GB, free: 3.461 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.3581, allocations: 16.3 kB / 1.358 GB, free: 3.445 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.3581, allocations: 4 kB / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.85e-05/0.3582, allocations: 91.27 kB / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3582, allocations: 0 / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002258/0.3584, allocations: 7.938 kB / 1.358 GB, free: 3.344 MB / 1.045 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.0001123/0.3585, allocations: 95.88 kB / 1.358 GB, free: 3.242 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002661/0.3588, allocations: 59.88 kB / 1.358 GB, free: 3.184 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.3588, allocations: 8 kB / 1.358 GB, free: 3.176 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.3589, allocations: 27.97 kB / 1.358 GB, free: 3.148 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.3592, allocations: 7.938 kB / 1.358 GB, free: 3.141 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003719/0.3596, allocations: 151.3 kB / 1.359 GB, free: 2.961 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.3599, allocations: 0.6807 MB / 1.359 GB, free: 2.254 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.423e-05/0.3599, allocations: 19.36 kB / 1.359 GB, free: 2.234 MB / 1.045 GB Notification: Performance of SimCode: time 3.51e-07/0.3599, allocations: 4 kB / 1.359 GB, free: 2.23 MB / 1.045 GB Notification: Performance of Templates: time 0.002538/0.3625, allocations: 0.8146 MB / 1.36 GB, free: 1.422 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.393762318999507]