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.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.001738/0.001738, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002204/0.002204, allocations: 199.5 kB / 22.17 MB, free: 5.211 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.491/1.491, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.865/2.865, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.002045/0.002045, allocations: 67.89 kB / 1.109 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7616/0.7637, allocations: 168.7 MB / 1.274 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001928/0.7656, allocations: 0.6997 MB / 1.275 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.7666, allocations: 0.8429 MB / 1.276 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.781e-05/0.7667, allocations: 0 / 1.276 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.053e-05/0.7667, allocations: 3.938 kB / 1.276 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.365e-05/0.7668, allocations: 11.92 kB / 1.276 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001448/0.7669, allocations: 19.97 kB / 1.276 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.715e-05/0.767, allocations: 51.84 kB / 1.276 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.7671, allocations: 12 kB / 1.276 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.091e-05/0.7672, allocations: 15.98 kB / 1.276 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.405e-05/0.7673, allocations: 35.83 kB / 1.276 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.7673, allocations: 4 kB / 1.276 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.301e-05/0.7673, allocations: 4 kB / 1.276 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.101e-05/0.7673, allocations: 7.984 kB / 1.276 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.362e-05/0.7674, allocations: 15.94 kB / 1.276 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.7675, allocations: 58.39 kB / 1.276 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.7675, allocations: 0 / 1.276 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.944e-06/0.7675, allocations: 0 / 1.276 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.7675, allocations: 4 kB / 1.276 GB, free: 2.793 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.0005744/0.7681, allocations: 355.3 kB / 1.276 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.7681, allocations: 8.031 kB / 1.276 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.7681, allocations: 4.938 kB / 1.276 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.7683, allocations: 168.3 kB / 1.276 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/0.7683, allocations: 8.375 kB / 1.276 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.7683, allocations: 4.375 kB / 1.276 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.7686, allocations: 73.58 kB / 1.276 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.7686, allocations: 0 / 1.276 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.7686, allocations: 7.875 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.7686, allocations: 4 kB / 1.276 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002208/0.7688, allocations: 43.95 kB / 1.276 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004549/0.7693, allocations: 288.8 kB / 1.277 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002289/0.7695, allocations: 74.47 kB / 1.277 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.7696, allocations: 24.92 kB / 1.277 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.7696, allocations: 0 / 1.277 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.7697, allocations: 42.55 kB / 1.277 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.7697, allocations: 0 / 1.277 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.000457/0.7701, allocations: 113.7 kB / 1.277 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.7702, allocations: 51.41 kB / 1.277 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.351e-05/0.7703, allocations: 105.8 kB / 1.277 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.7703, allocations: 29.7 kB / 1.277 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.7703, allocations: 84.08 kB / 1.277 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.7704, allocations: 19.91 kB / 1.277 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/0.7704, allocations: 17.7 kB / 1.277 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.7706, allocations: 322.7 kB / 1.278 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.7707, allocations: 23.97 kB / 1.278 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.7708, allocations: 23.98 kB / 1.278 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.771, allocations: 56.81 kB / 1.278 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.771, allocations: 0 / 1.278 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002605/0.7712, allocations: 85.89 kB / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.7713, allocations: 8 kB / 1.278 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.7713, allocations: 0 / 1.278 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.7713, allocations: 4 kB / 1.278 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.7714, allocations: 15.92 kB / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.7714, allocations: 0 / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.94e-05/0.7715, allocations: 19.88 kB / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.7715, allocations: 7.984 kB / 1.278 GB, free: 0.5156 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.409e-05/0.7716, allocations: 114.3 kB / 1.278 GB, free: 404 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.7716, allocations: 4 kB / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.255e-05/0.7716, allocations: 3.906 kB / 1.278 GB, free: 392 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.7717, allocations: 3.984 kB / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.7717, allocations: 0 / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.7717, allocations: 0 / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.7719, allocations: 177.6 kB / 1.278 GB, free: 160 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.7719, allocations: 0 / 1.278 GB, free: 160 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.955e-05/0.772, allocations: 15.98 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.772, allocations: 0 / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.772, allocations: 3.984 kB / 1.278 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.772, allocations: 4 kB / 1.278 GB, free: 136 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.772, allocations: 0 / 1.278 GB, free: 136 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003633/0.7723, allocations: 191.3 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.7724, allocations: 81.11 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.7724, allocations: 0 / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.7725, allocations: 7.984 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.7726, allocations: 11.98 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.7726, allocations: 4 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.24e-05/0.7726, allocations: 83.28 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7726, allocations: 3.938 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002311/0.7729, allocations: 11.94 kB / 1.278 GB, free: 15.71 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.0001281/0.773, allocations: 107.2 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000288/0.7733, allocations: 52.19 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.7733, allocations: 0 / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.7734, allocations: 35.91 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.7737, allocations: 5.906 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003906/0.7741, allocations: 148.3 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.7744, allocations: 0.6846 MB / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.212e-05/0.7745, allocations: 4 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.435e-05/0.7745, allocations: 11.44 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of SimCode: time 5.21e-07/0.7745, allocations: 0 / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of Templates: time 0.003884/0.7784, allocations: 0.9016 MB / 1.28 GB, free: 13.71 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 -s gbode -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_2/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: 8.637766954954714]