Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 118.2 kB / 17.13 MB, free: 5.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 191.7 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.576/2.576, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 63.89 kB / 1.057 GB, free: 1.926 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3118, allocations: 160.7 MB / 1.214 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002017/0.3139, allocations: 0.7159 MB / 1.215 GB, free: 184 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.3149, allocations: 0.839 MB / 1.216 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-05/0.315, allocations: 4 kB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.198e-05/0.315, allocations: 3.938 kB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.811e-05/0.3151, allocations: 7.938 kB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.3152, allocations: 19.92 kB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.282e-05/0.3153, allocations: 43.97 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.3154, allocations: 15.97 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.428e-05/0.3155, allocations: 27.86 kB / 1.216 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.3155, allocations: 15.92 kB / 1.216 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.3156, allocations: 4 kB / 1.216 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.22e-05/0.3156, allocations: 8 kB / 1.216 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.451e-05/0.3156, allocations: 15.97 kB / 1.216 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.3156, allocations: 19.86 kB / 1.216 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.3157, allocations: 47.81 kB / 1.216 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3157, allocations: 0 / 1.216 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3157, allocations: 0 / 1.216 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.3158, allocations: 0 / 1.216 GB, free: 15.1 MB / 0.9669 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.0005867/0.3163, allocations: 355.3 kB / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.3164, allocations: 8.031 kB / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.3164, allocations: 0.9375 kB / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.3166, allocations: 180.3 kB / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.3166, allocations: 384 / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.3166, allocations: 8.375 kB / 1.216 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.3168, allocations: 81.45 kB / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3168, allocations: 0 / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.3169, allocations: 8 kB / 1.216 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3169, allocations: 0 / 1.216 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002213/0.3171, allocations: 47.95 kB / 1.216 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.3175, allocations: 292.8 kB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.3178, allocations: 62.48 kB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.3179, allocations: 36.91 kB / 1.217 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.3179, allocations: 0 / 1.217 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.3179, allocations: 34.5 kB / 1.217 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.3179, allocations: 4 kB / 1.217 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004523/0.3184, allocations: 109.6 kB / 1.217 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.3184, allocations: 59.34 kB / 1.217 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.3185, allocations: 105.8 kB / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.3185, allocations: 25.7 kB / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.884e-05/0.3186, allocations: 84.14 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.3186, allocations: 15.89 kB / 1.217 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.3187, allocations: 21.72 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3188, allocations: 314.8 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.3189, allocations: 27.97 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.986e-05/0.319, allocations: 23.97 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.3192, allocations: 52.81 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3192, allocations: 4 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002641/0.3195, allocations: 89.91 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3195, allocations: 4 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3195, allocations: 0 / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3195, allocations: 4 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.3196, allocations: 11.98 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.3197, allocations: 3.984 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.019e-05/0.3197, allocations: 4 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.3197, allocations: 4 kB / 1.218 GB, free: 12.83 MB / 0.9669 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.072e-05/0.3198, allocations: 117.8 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.3199, allocations: 7.938 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.668e-05/0.3199, allocations: 11.84 kB / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3199, allocations: 4 kB / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3199, allocations: 0 / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3199, allocations: 0 / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.3201, allocations: 177.6 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3201, allocations: 0 / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.659e-05/0.3202, allocations: 19.98 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3202, allocations: 0 / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.3202, allocations: 0 / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3202, allocations: 256 / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3202, allocations: 0 / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.3206, allocations: 191.4 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.825e-05/0.3206, allocations: 93 kB / 1.218 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.3206, allocations: 0 / 1.218 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.3207, allocations: 7.984 kB / 1.218 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.3208, allocations: 11.98 kB / 1.218 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.3208, allocations: 0 / 1.218 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.381e-05/0.3208, allocations: 91.27 kB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3208, allocations: 3.938 kB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002314/0.3211, allocations: 7.938 kB / 1.219 GB, free: 12 MB / 0.9669 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.0001488/0.3212, allocations: 103.2 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002877/0.3215, allocations: 55.89 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3215, allocations: 0 / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.3216, allocations: 31.97 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.3219, allocations: 4 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004096/0.3224, allocations: 163.1 kB / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.3227, allocations: 0.6807 MB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.025e-05/0.3227, allocations: 11.44 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of SimCode: time 4.11e-07/0.3227, allocations: 0 / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of Templates: time 0.002461/0.3252, allocations: 0.826 MB / 1.22 GB, free: 10.07 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.065985139925033]