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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_10_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.01097/0.01097, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001887/0.001887, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.603/1.603, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.661/2.661, allocations: 437 MB / 0.7105 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 71.83 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043/1.045, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002224/1.047, allocations: 0.7072 MB / 1.167 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00116/1.048, allocations: 0.8414 MB / 1.168 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.52e-05/1.048, allocations: 4 kB / 1.168 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.176e-05/1.048, allocations: 3.938 kB / 1.168 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.903e-05/1.048, allocations: 3.938 kB / 1.168 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001881/1.049, allocations: 19.97 kB / 1.168 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001312/1.049, allocations: 51.84 kB / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/1.049, allocations: 19.92 kB / 1.168 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.923e-05/1.049, allocations: 19.98 kB / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.892e-05/1.049, allocations: 23.91 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3e-05/1.049, allocations: 4 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.653e-05/1.049, allocations: 7.938 kB / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.606e-05/1.049, allocations: 11.98 kB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.718e-05/1.049, allocations: 15.92 kB / 1.168 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/1.049, allocations: 55.72 kB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/1.049, allocations: 4 kB / 1.168 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.856e-06/1.049, allocations: 0 / 1.168 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.693e-06/1.049, allocations: 4 kB / 1.168 GB, free: 2.047 MB / 0.8887 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.000569/1.05, allocations: 347.9 kB / 1.169 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/1.05, allocations: 8.922 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/1.05, allocations: 8.922 kB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/1.05, allocations: 176.3 kB / 1.169 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/1.05, allocations: 384 / 1.169 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/1.05, allocations: 4.375 kB / 1.169 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/1.05, allocations: 69.59 kB / 1.169 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/1.05, allocations: 0 / 1.169 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/1.05, allocations: 4 kB / 1.169 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/1.05, allocations: 4 kB / 1.169 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002095/1.051, allocations: 51.88 kB / 1.169 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/1.051, allocations: 288.8 kB / 1.169 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/1.051, allocations: 62.55 kB / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/1.051, allocations: 36.91 kB / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/1.052, allocations: 8 kB / 1.169 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/1.052, allocations: 30.56 kB / 1.169 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/1.052, allocations: 0 / 1.169 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0004173/1.052, allocations: 113.6 kB / 1.17 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/1.052, allocations: 55.39 kB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/1.052, allocations: 105.9 kB / 1.17 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/1.052, allocations: 25.7 kB / 1.17 GB, free: 496 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/1.052, allocations: 88.12 kB / 1.17 GB, free: 404 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/1.052, allocations: 11.84 kB / 1.17 GB, free: 392 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/1.052, allocations: 21.66 kB / 1.17 GB, free: 364 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.052, allocations: 326.8 kB / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/1.053, allocations: 23.98 kB / 1.17 GB, free: 4 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/1.053, allocations: 28.09 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/1.053, allocations: 60.89 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.053, allocations: 0 / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002355/1.053, allocations: 85.64 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/1.053, allocations: 4 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/1.053, allocations: 3.938 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/1.053, allocations: 0 / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/1.053, allocations: 15.98 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/1.053, allocations: 0 / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.789e-05/1.053, allocations: 11.98 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/1.053, allocations: 0 / 1.17 GB, free: 15.79 MB / 0.9044 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 8.573e-05/1.053, allocations: 124.8 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/1.054, allocations: 3.953 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.926e-05/1.054, allocations: 7.906 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/1.054, allocations: 4 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.054, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/1.054, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/1.054, allocations: 173.6 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.054, allocations: 0 / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/1.054, allocations: 15.98 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/1.054, allocations: 0 / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/1.054, allocations: 8 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.054, allocations: 0 / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.054, allocations: 0 / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/1.054, allocations: 183.6 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.326e-05/1.054, allocations: 89.05 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/1.054, allocations: 4 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.729e-05/1.054, allocations: 8 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/1.054, allocations: 11.98 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/1.054, allocations: 0 / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.743e-05/1.055, allocations: 91.27 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.055, allocations: 0 / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000222/1.055, allocations: 7.938 kB / 1.171 GB, free: 14.97 MB / 0.9044 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.0001376/1.055, allocations: 103.2 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002632/1.055, allocations: 59.94 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.055, allocations: 0 / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/1.055, allocations: 35.91 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/1.056, allocations: 10.53 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/1.056, allocations: 121.4 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/1.056, allocations: 0.6846 MB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.114e-05/1.056, allocations: 8 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.352e-05/1.056, allocations: 15.44 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of SimCode: time 4.8e-07/1.056, allocations: 0 / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of Templates: time 0.003577/1.06, allocations: 0.8922 MB / 1.173 GB, free: 13 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches