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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009485/0.009485, allocations: 102.6 kB / 15.73 MB, free: 5.492 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.001908/0.001908, allocations: 190.2 kB / 16.67 MB, free: 5.422 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.364/2.364, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 75.86 kB / 0.9504 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8834/0.8848, allocations: 140.4 MB / 1.087 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001966/0.8869, allocations: 0.7 MB / 1.088 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.8881, allocations: 0.8398 MB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.834e-05/0.8882, allocations: 0 / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.888e-05/0.8882, allocations: 5.656 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.786e-05/0.8883, allocations: 8.5 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.8886, allocations: 27.17 kB / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.8887, allocations: 45.11 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.8888, allocations: 12.22 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.839e-05/0.8889, allocations: 19.66 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.889, allocations: 29.58 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.177e-05/0.8891, allocations: 4.188 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.618e-05/0.8891, allocations: 4.406 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.692e-05/0.8891, allocations: 12.17 kB / 1.089 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.478e-05/0.8892, allocations: 21.83 kB / 1.089 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.8893, allocations: 47.05 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.8894, allocations: 0.6562 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8894, allocations: 1.094 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.8894, allocations: 0 / 1.089 GB, free: 4.051 MB / 0.8575 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.0005862/0.89, allocations: 350 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.89, allocations: 9.344 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.542e-05/0.8901, allocations: 32.58 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.8901, allocations: 7.531 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.8903, allocations: 175.9 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.8903, allocations: 2.406 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.8903, allocations: 11.03 kB / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.8906, allocations: 65.66 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.8906, allocations: 3.938 kB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.8906, allocations: 4 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.8906, allocations: 1.344 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000262/0.8909, allocations: 56.86 kB / 1.09 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004898/0.8914, allocations: 286.9 kB / 1.09 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.8917, allocations: 62.28 kB / 1.09 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.8918, allocations: 37.48 kB / 1.09 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.8919, allocations: 5.094 kB / 1.09 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.8919, allocations: 31.75 kB / 1.09 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.8919, allocations: 0 / 1.09 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004704/0.8924, allocations: 111.4 kB / 1.09 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.8924, allocations: 52.5 kB / 1.09 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.037e-05/0.8925, allocations: 112.5 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.8925, allocations: 27.3 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.8925, allocations: 86.3 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.8926, allocations: 14.28 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.8926, allocations: 20.09 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.383e-05/0.8927, allocations: 321.4 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.8928, allocations: 27.11 kB / 1.091 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.8929, allocations: 27.14 kB / 1.091 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.8931, allocations: 55.97 kB / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8931, allocations: 0 / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002511/0.8934, allocations: 84.61 kB / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.8934, allocations: 4.844 kB / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.8934, allocations: 1.094 kB / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.8934, allocations: 0 / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.8936, allocations: 17.34 kB / 1.091 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.8936, allocations: 5.625 kB / 1.091 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.202e-05/0.8937, allocations: 14.06 kB / 1.091 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.8937, allocations: 6.156 kB / 1.091 GB, free: 2.195 MB / 0.8575 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 6.142e-05/0.8937, allocations: 108.6 kB / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.8938, allocations: 6.094 kB / 1.091 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/0.8938, allocations: 10.19 kB / 1.091 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.8938, allocations: 5.094 kB / 1.091 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.8938, allocations: 4 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.8938, allocations: 0 / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.894, allocations: 175.9 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.894, allocations: 0 / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.722e-05/0.8941, allocations: 12.75 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.8941, allocations: 0 / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.8941, allocations: 9.656 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.8941, allocations: 1.484 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8941, allocations: 0 / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.8944, allocations: 189 kB / 1.092 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.555e-05/0.8945, allocations: 82.67 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.8945, allocations: 1.703 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.876e-05/0.8946, allocations: 5.953 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.378e-05/0.8947, allocations: 12.06 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.8947, allocations: 1.688 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.914e-05/0.8947, allocations: 90.17 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8947, allocations: 4 kB / 1.092 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002269/0.895, allocations: 6.844 kB / 1.092 GB, free: 1.512 MB / 0.8575 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.000691/0.8957, allocations: 0.71 MB / 1.093 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003167/0.896, allocations: 61.33 kB / 1.093 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.896, allocations: 0 / 1.093 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.8961, allocations: 35.31 kB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.8965, allocations: 7.172 kB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.8981, allocations: 1.325 MB / 1.094 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.8984, allocations: 0.6807 MB / 1.095 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.923e-05/0.8984, allocations: 4.5 kB / 1.095 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.073e-05/0.8985, allocations: 16.88 kB / 1.095 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of SimCode: time 3.1e-07/0.8985, allocations: 0 / 1.095 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01981/0.9183, allocations: 1.825 MB / 1.096 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.705/8.623, allocations: 5.391 kB / 1.096 GB, free: 14.48 MB / 0.8731 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins1/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