Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002421/0.002421, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.002804/0.002804, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.581/1.581, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.099/3.099, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.275e-06/2.275e-06, allocations: 0 / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.831e-05/3.059e-05, allocations: 3.156 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.00217/0.0022, allocations: 0.7113 MB / 0.8115 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.003817, allocations: 0.8633 MB / 0.8124 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.955e-05/0.003876, allocations: 4 kB / 0.8124 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.412e-05/0.00391, allocations: 4.844 kB / 0.8124 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.004024, allocations: 3.938 kB / 0.8124 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.004226, allocations: 24.56 kB / 0.8124 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.004351, allocations: 51.84 kB / 0.8124 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.004498, allocations: 12.86 kB / 0.8125 GB, free: 444 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.004609, allocations: 19.98 kB / 0.8125 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 9.491e-05/0.004704, allocations: 29.14 kB / 0.8125 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.177e-05/0.004736, allocations: 4 kB / 0.8125 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.618e-05/0.004752, allocations: 4 kB / 0.8125 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.628e-05/0.004778, allocations: 5.656 kB / 0.8125 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.111e-05/0.004819, allocations: 15.98 kB / 0.8125 GB, free: 368 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.004971, allocations: 55.78 kB / 0.8126 GB, free: 312 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.004974, allocations: 0 / 0.8126 GB, free: 312 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.42e-07/0.004975, allocations: 0 / 0.8126 GB, free: 312 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.004981, allocations: 1.312 kB / 0.8126 GB, free: 312 kB / 0.7605 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.001009/0.005989, allocations: 372.2 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.006036, allocations: 8.031 kB / 0.8129 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.428e-05/0.00609, allocations: 10.42 kB / 0.813 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.006246, allocations: 112.6 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.006267, allocations: 4.375 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.006284, allocations: 8.359 kB / 0.8131 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.006488, allocations: 62.98 kB / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.006502, allocations: 3.938 kB / 0.8131 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.006515, allocations: 0.9062 kB / 0.8131 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.00652, allocations: 4 kB / 0.8131 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.006685, allocations: 40.59 kB / 0.8132 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.007169, allocations: 285.7 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/0.007389, allocations: 78.91 kB / 0.8135 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.173e-05/0.007481, allocations: 23.72 kB / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.007502, allocations: 0 / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.00754, allocations: 41.95 kB / 0.8136 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.007541, allocations: 0 / 0.8136 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0003595/0.007901, allocations: 95.59 kB / 0.8137 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.007954, allocations: 59.39 kB / 0.8137 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.00809, allocations: 169.9 kB / 0.8139 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.008116, allocations: 29.69 kB / 0.8139 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.856e-05/0.008214, allocations: 139.5 kB / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.008244, allocations: 9.016 kB / 0.8141 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.333e-05/0.008297, allocations: 27.38 kB / 0.8141 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002625/0.00856, allocations: 0.4884 MB / 0.8146 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.111e-05/0.008641, allocations: 20.86 kB / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.112e-05/0.008712, allocations: 19.98 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.00885, allocations: 40.27 kB / 0.8147 GB, free: 14 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.008854, allocations: 5.094 kB / 0.8147 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002001/0.009054, allocations: 77.67 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.009068, allocations: 5.812 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.009073, allocations: 0 / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.009087, allocations: 3.938 kB / 0.8147 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.009208, allocations: 11.98 kB / 0.8148 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.009213, allocations: 0 / 0.8148 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.366e-05/0.009267, allocations: 8.766 kB / 0.8148 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.009273, allocations: 0 / 0.8148 GB, free: 13.88 MB / 0.7761 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 0.0001262/0.009399, allocations: 169.4 kB / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.009431, allocations: 4 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/0.009456, allocations: 5.344 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.009458, allocations: 0 / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.009461, allocations: 256 / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.009463, allocations: 0 / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.009638, allocations: 133.5 kB / 0.8151 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.009641, allocations: 3.938 kB / 0.8151 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.766e-05/0.009719, allocations: 14.2 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.00972, allocations: 0 / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.009732, allocations: 4 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.009735, allocations: 7.922 kB / 0.8151 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.009736, allocations: 0 / 0.8151 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.01003, allocations: 232.3 kB / 0.8153 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.385e-05/0.01006, allocations: 7.938 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.01007, allocations: 3.438 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.922e-05/0.01015, allocations: 4 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/0.01021, allocations: 7.984 kB / 0.8153 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.01022, allocations: 4 kB / 0.8153 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.351e-05/0.0103, allocations: 131.2 kB / 0.8155 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.0103, allocations: 0 / 0.8155 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002078/0.01051, allocations: 8 kB / 0.8155 GB, free: 13.1 MB / 0.7761 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.0001237/0.01063, allocations: 96.16 kB / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002291/0.01086, allocations: 64.08 kB / 0.8156 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01086, allocations: 0.5625 kB / 0.8156 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.01096, allocations: 32.23 kB / 0.8157 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.01122, allocations: 17.33 kB / 0.8157 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003651/0.01159, allocations: 130.4 kB / 0.8158 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.671e-05/0.01167, allocations: 67.73 kB / 0.8159 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.479e-05/0.01171, allocations: 10.17 kB / 0.8159 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.01176, allocations: 12.5 kB / 0.8159 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of SimCode: time 5.01e-07/0.01176, allocations: 3.656 kB / 0.8159 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of Templates: time 0.003986/0.01575, allocations: 0.9636 MB / 0.8168 GB, free: 11.69 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.243953335098922]