Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.00851/0.00851, allocations: 100.7 kB / 15.87 MB, free: 5.867 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.001976/0.001976, allocations: 191.2 kB / 16.79 MB, free: 5.809 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.426/1.426, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.686/2.686, allocations: 461.9 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 65.08 kB / 0.8991 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3267, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002193/0.3289, allocations: 0.7621 MB / 1.054 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009867/0.33, allocations: 0.8351 MB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.545e-05/0.33, allocations: 0 / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.74e-05/0.3301, allocations: 0 / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.502e-05/0.3302, allocations: 3.938 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.3303, allocations: 31.98 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.01e-05/0.3304, allocations: 47.83 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.3305, allocations: 12 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.954e-05/0.3306, allocations: 15.92 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.535e-05/0.3307, allocations: 23.91 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.3307, allocations: 4 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.405e-05/0.3308, allocations: 4 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.254e-05/0.3308, allocations: 11.97 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.3308, allocations: 19.88 kB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.275e-05/0.3309, allocations: 27.94 kB / 1.055 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3309, allocations: 4 kB / 1.055 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.71e-07/0.3309, allocations: 0 / 1.055 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.3309, allocations: 0 / 1.055 GB, free: 6.449 MB / 0.8106 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.0005689/0.3315, allocations: 355.6 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.3315, allocations: 11.97 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.3316, allocations: 8.938 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.3317, allocations: 172.3 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.3318, allocations: 8.375 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.3318, allocations: 384 / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.332, allocations: 77.7 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.332, allocations: 0 / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.332, allocations: 4 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.3321, allocations: 4 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.3323, allocations: 43.95 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004704/0.3328, allocations: 296.8 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.333, allocations: 62.48 kB / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.3331, allocations: 36.91 kB / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.3331, allocations: 4 kB / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.3332, allocations: 30.56 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.803e-06/0.3332, allocations: 3.938 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004567/0.3336, allocations: 113.6 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.3337, allocations: 55.41 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.336e-05/0.3338, allocations: 105.8 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.3338, allocations: 29.7 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.3339, allocations: 88.08 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.3339, allocations: 11.89 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/0.3339, allocations: 17.72 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3341, allocations: 318.8 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.3342, allocations: 23.97 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.872e-05/0.3343, allocations: 28 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.3345, allocations: 60.81 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3345, allocations: 0 / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002697/0.3348, allocations: 85.5 kB / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3348, allocations: 5.719 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3348, allocations: 0 / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.3348, allocations: 4 kB / 1.056 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.335, allocations: 15.98 kB / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.335, allocations: 3.984 kB / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.352e-05/0.335, allocations: 8 kB / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.3351, allocations: 0 / 1.057 GB, free: 4.176 MB / 0.8106 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.192e-05/0.3352, allocations: 117.8 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.3352, allocations: 0 / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.787e-05/0.3352, allocations: 7.906 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3352, allocations: 4 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3352, allocations: 0 / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3353, allocations: 4 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.3354, allocations: 181.5 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3355, allocations: 256 / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.3356, allocations: 19.98 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3356, allocations: 0 / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.3356, allocations: 4 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3356, allocations: 0 / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.3356, allocations: 0 / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.3359, allocations: 191.4 kB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.336, allocations: 81.05 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.336, allocations: 0 / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.3361, allocations: 7.984 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.164e-05/0.3362, allocations: 11.98 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.3362, allocations: 0 / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.245e-05/0.3362, allocations: 91.27 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3363, allocations: 3.938 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000222/0.3365, allocations: 15.84 kB / 1.057 GB, free: 3.352 MB / 0.8106 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.0001327/0.3366, allocations: 99.19 kB / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000259/0.3369, allocations: 63.88 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3369, allocations: 0 / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.337, allocations: 28.27 kB / 1.057 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.3373, allocations: 17.53 kB / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00036/0.3377, allocations: 157 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.338, allocations: 0.6809 MB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.624e-05/0.338, allocations: 11.42 kB / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of SimCode: time 3.51e-07/0.338, allocations: 0 / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of Templates: time 0.002238/0.3403, allocations: 0.8109 MB / 1.059 GB, free: 1.422 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches