Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001973/0.001973, allocations: 193.6 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.447/2.447, allocations: 390.2 MB / 0.6643 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.785/0.7864, allocations: 140.3 MB / 0.9491 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002034/0.7885, allocations: 0.7563 MB / 0.9498 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008584/0.7894, allocations: 0.8358 MB / 0.9507 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.76e-05/0.7894, allocations: 1.312 kB / 0.9507 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.542e-05/0.7895, allocations: 0 / 0.9507 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.435e-05/0.7896, allocations: 9.203 kB / 0.9507 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.7897, allocations: 16.64 kB / 0.9507 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.417e-05/0.7898, allocations: 43.14 kB / 0.9507 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.7899, allocations: 14.14 kB / 0.9507 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.169e-05/0.79, allocations: 31 kB / 0.9508 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.423e-05/0.7901, allocations: 19.05 kB / 0.9508 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.7901, allocations: 4.062 kB / 0.9508 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.388e-05/0.7901, allocations: 4.188 kB / 0.9508 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.7901, allocations: 13.33 kB / 0.9508 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.091e-05/0.7902, allocations: 22.98 kB / 0.9508 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.023e-05/0.7903, allocations: 44.89 kB / 0.9509 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.7903, allocations: 0 / 0.9509 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7903, allocations: 0 / 0.9509 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.7903, allocations: 0 / 0.9509 GB, free: 7.832 MB / 0.7169 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.0004471/0.7907, allocations: 351.3 kB / 0.9512 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.7908, allocations: 9.25 kB / 0.9512 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/0.7908, allocations: 6.469 kB / 0.9512 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.753e-05/0.7909, allocations: 174.7 kB / 0.9514 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.791, allocations: 11.11 kB / 0.9514 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.791, allocations: 2.406 kB / 0.9514 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.7912, allocations: 70.42 kB / 0.9515 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.7912, allocations: 3.938 kB / 0.9515 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.7912, allocations: 4 kB / 0.9515 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.7912, allocations: 1.5 kB / 0.9515 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002012/0.7914, allocations: 51.33 kB / 0.9515 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.7918, allocations: 296.6 kB / 0.9518 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.792, allocations: 65.95 kB / 0.9519 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.7921, allocations: 34.62 kB / 0.9519 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.7922, allocations: 5.312 kB / 0.9519 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.7922, allocations: 30.56 kB / 0.9519 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.7922, allocations: 0 / 0.9519 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003923/0.7926, allocations: 113.9 kB / 0.9521 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.7926, allocations: 52.44 kB / 0.9521 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.929e-05/0.7927, allocations: 105.6 kB / 0.9522 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.7927, allocations: 26.83 kB / 0.9522 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.212e-05/0.7927, allocations: 89.2 kB / 0.9523 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.7928, allocations: 14.08 kB / 0.9523 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.7928, allocations: 17.56 kB / 0.9523 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.903e-05/0.7929, allocations: 319.9 kB / 0.9526 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.698e-05/0.793, allocations: 29.47 kB / 0.9527 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.578e-05/0.7931, allocations: 24.47 kB / 0.9527 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.7932, allocations: 51.25 kB / 0.9527 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.7932, allocations: 3.938 kB / 0.9528 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002175/0.7935, allocations: 90.41 kB / 0.9528 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.7935, allocations: 6.875 kB / 0.9528 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.7935, allocations: 0 / 0.9528 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.7935, allocations: 1.562 kB / 0.9528 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.7936, allocations: 15.77 kB / 0.9529 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.7937, allocations: 1.594 kB / 0.9529 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.521e-05/0.7937, allocations: 6.891 kB / 0.9529 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.7937, allocations: 1.625 kB / 0.9529 GB, free: 5.875 MB / 0.7169 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 5.632e-05/0.7938, allocations: 120.4 kB / 0.953 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.7938, allocations: 6.469 kB / 0.953 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.334e-05/0.7939, allocations: 9.031 kB / 0.953 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.7939, allocations: 3.938 kB / 0.953 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.7939, allocations: 5.047 kB / 0.953 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.7939, allocations: 0 / 0.953 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.794, allocations: 176.1 kB / 0.9532 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.794, allocations: 0 / 0.9532 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.148e-05/0.7941, allocations: 17.52 kB / 0.9532 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.7941, allocations: 0 / 0.9532 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.7941, allocations: 0 / 0.9532 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.7941, allocations: 5.594 kB / 0.9532 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.7941, allocations: 0 / 0.9532 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.7944, allocations: 188.9 kB / 0.9534 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.864e-05/0.7944, allocations: 78.58 kB / 0.9535 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.7944, allocations: 0 / 0.9535 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.7946, allocations: 8.453 kB / 0.9535 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.261e-05/0.7946, allocations: 15.77 kB / 0.9535 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.7947, allocations: 1.25 kB / 0.9535 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.434e-05/0.7947, allocations: 87.44 kB / 0.9536 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7947, allocations: 1.438 kB / 0.9536 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002146/0.7949, allocations: 6.562 kB / 0.9536 GB, free: 5.145 MB / 0.7169 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.0001186/0.795, allocations: 107.1 kB / 0.9537 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002655/0.7953, allocations: 59.7 kB / 0.9537 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7953, allocations: 0 / 0.9537 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.7954, allocations: 30.69 kB / 0.9538 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.7957, allocations: 10.7 kB / 0.9538 GB, free: 5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003342/0.7961, allocations: 147.8 kB / 0.9539 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.7962, allocations: 0.6876 MB / 0.9546 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.409e-05/0.7963, allocations: 3.406 kB / 0.9546 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.7963, allocations: 19.52 kB / 0.9546 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.7963, allocations: 0 / 0.9546 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of Templates: time 0.002779/0.7991, allocations: 0.8019 MB / 0.9554 GB, free: 3.727 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches