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.000668/0.000668, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007609/0.0007609, allocations: 177.9 kB / 23.21 MB, free: 1.352 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 0.8696/0.8696, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.693/1.693, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 3.326e-06/3.326e-06, allocations: 0 / 0.9517 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.163e-05/3.496e-05, allocations: 14.16 kB / 0.9517 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001913/0.001948, allocations: 0.698 MB / 0.9524 GB, free: 2.273 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.003105, allocations: 0.8587 MB / 0.9533 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.58e-05/0.003151, allocations: 0 / 0.9533 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.3e-05/0.003184, allocations: 7.938 kB / 0.9533 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.039e-05/0.003265, allocations: 3.938 kB / 0.9533 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.003449, allocations: 31.89 kB / 0.9533 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.00355, allocations: 43.86 kB / 0.9533 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.00367, allocations: 7.984 kB / 0.9533 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.00377, allocations: 23.98 kB / 0.9534 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.754e-05/0.003847, allocations: 27.89 kB / 0.9534 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.003879, allocations: 4 kB / 0.9534 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.162e-05/0.00389, allocations: 4 kB / 0.9534 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.392e-05/0.003924, allocations: 15.92 kB / 0.9534 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.967e-05/0.003954, allocations: 15.94 kB / 0.9534 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.00408, allocations: 51.84 kB / 0.9535 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.004083, allocations: 0 / 0.9535 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.563e-06/0.004085, allocations: 0 / 0.9535 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.00409, allocations: 0 / 0.9535 GB, free: 1.168 MB / 0.9011 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.0005011/0.004591, allocations: 278.2 kB / 0.9537 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.004636, allocations: 8.031 kB / 0.9538 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.339e-05/0.00468, allocations: 8.938 kB / 0.9538 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.004804, allocations: 109.7 kB / 0.9539 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.004823, allocations: 4.375 kB / 0.9539 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.004837, allocations: 4.375 kB / 0.9539 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.005042, allocations: 78.19 kB / 0.954 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.005053, allocations: 3.938 kB / 0.954 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.005065, allocations: 0 / 0.954 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.005075, allocations: 7.938 kB / 0.954 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.005248, allocations: 47.89 kB / 0.954 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.005651, allocations: 216.6 kB / 0.9542 GB, free: 336 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.005848, allocations: 78.5 kB / 0.9543 GB, free: 248 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.969e-05/0.005938, allocations: 32.83 kB / 0.9543 GB, free: 212 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.005959, allocations: 7.969 kB / 0.9543 GB, free: 204 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.005985, allocations: 34.56 kB / 0.9544 GB, free: 160 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.005986, allocations: 0 / 0.9544 GB, free: 160 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4): time 0.000379/0.006365, allocations: 109.6 kB / 0.9545 GB, free: 44 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.006416, allocations: 51.41 kB / 0.9545 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.166e-05/0.006497, allocations: 110 kB / 0.9546 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.006513, allocations: 29.7 kB / 0.9546 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.006561, allocations: 84.14 kB / 0.9547 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.006584, allocations: 15.84 kB / 0.9547 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.006626, allocations: 17.7 kB / 0.9548 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.863e-05/0.006725, allocations: 314.8 kB / 0.9551 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.687e-05/0.006811, allocations: 31.91 kB / 0.9551 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.569e-05/0.006887, allocations: 24.05 kB / 0.9551 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.007048, allocations: 60.81 kB / 0.9552 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.007052, allocations: 3.938 kB / 0.9552 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002277/0.00728, allocations: 81.64 kB / 0.9553 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.007298, allocations: 4 kB / 0.9553 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.007305, allocations: 0 / 0.9553 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.007322, allocations: 0 / 0.9553 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.007452, allocations: 15.98 kB / 0.9553 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.007461, allocations: 7.938 kB / 0.9553 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.962e-05/0.007511, allocations: 11.98 kB / 0.9553 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.007518, allocations: 3.938 kB / 0.9553 GB, free: 15.14 MB / 0.9167 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.134e-05/0.00761, allocations: 113.8 kB / 0.9554 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.007637, allocations: 7.953 kB / 0.9554 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.182e-05/0.007669, allocations: 7.984 kB / 0.9554 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.007673, allocations: 4 kB / 0.9554 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.007679, allocations: 0 / 0.9554 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.007682, allocations: 3.938 kB / 0.9554 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.007841, allocations: 117.4 kB / 0.9555 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.007844, allocations: 7.938 kB / 0.9555 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.42e-05/0.007918, allocations: 11.98 kB / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.007921, allocations: 0 / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.007932, allocations: 4 kB / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.007934, allocations: 0 / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.007935, allocations: 0 / 0.9556 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.008207, allocations: 180 kB / 0.9557 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.531e-05/0.008222, allocations: 11.89 kB / 0.9557 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.008238, allocations: 0 / 0.9557 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.465e-05/0.008323, allocations: 15.98 kB / 0.9558 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.512e-05/0.008398, allocations: 8.359 kB / 0.9558 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.008406, allocations: 4 kB / 0.9558 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.865e-05/0.008455, allocations: 91.27 kB / 0.9559 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9.1e-08/0.008455, allocations: 0 / 0.9559 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002799/0.008735, allocations: 4 kB / 0.9559 GB, free: 14.49 MB / 0.9167 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.0001364/0.008871, allocations: 99.25 kB / 0.956 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002496/0.009121, allocations: 59.92 kB / 0.956 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.009123, allocations: 4 kB / 0.956 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.906e-05/0.009212, allocations: 31.92 kB / 0.956 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.009621, allocations: 11.92 kB / 0.9561 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003917/0.01001, allocations: 146.5 kB / 0.9562 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.364e-05/0.01009, allocations: 63.34 kB / 0.9563 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.469e-05/0.01014, allocations: 20.48 kB / 0.9563 GB, free: 14 MB / 0.9167 GB Notification: Performance of SimCode: time 7.21e-07/0.01014, allocations: 0 / 0.9563 GB, free: 14 MB / 0.9167 GB Notification: Performance of Templates: time 0.002269/0.01241, allocations: 0.827 MB / 0.9571 GB, free: 13.18 MB / 0.9167 GB " [Timeout remaining time 300] 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/jenkins/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: 6.361491046845913]