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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_10_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.01869/0.01869, allocations: 101 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.003026/0.003026, allocations: 193.4 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 3.094/3.094, allocations: 222.9 MB / 240.4 MB, free: 15.13 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 5.045/5.045, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002628/0.002628, allocations: 67.89 kB / 1.018 GB, free: 9.879 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.725/1.728, allocations: 151.6 MB / 1.166 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.003564/1.731, allocations: 0.7111 MB / 1.167 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00193/1.733, allocations: 0.8375 MB / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.479e-05/1.733, allocations: 0 / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.032e-05/1.733, allocations: 3.938 kB / 1.168 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001141/1.734, allocations: 7.938 kB / 1.168 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/1.734, allocations: 23.91 kB / 1.168 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001665/1.734, allocations: 51.89 kB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/1.734, allocations: 15.94 kB / 1.168 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/1.734, allocations: 19.98 kB / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/1.734, allocations: 27.89 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.28e-05/1.735, allocations: 4 kB / 1.168 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.139e-05/1.735, allocations: 4 kB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.005e-05/1.735, allocations: 11.94 kB / 1.168 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.346e-05/1.735, allocations: 15.92 kB / 1.168 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001993/1.735, allocations: 55.78 kB / 1.168 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.735, allocations: 0 / 1.168 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.517e-06/1.735, allocations: 0 / 1.168 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.026e-05/1.735, allocations: 0 / 1.168 GB, free: 1.973 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.0008753/1.736, allocations: 359 kB / 1.168 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/1.736, allocations: 12.86 kB / 1.168 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.472e-05/1.736, allocations: 34.75 kB / 1.168 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/1.736, allocations: 4.938 kB / 1.168 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/1.736, allocations: 172.3 kB / 1.168 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/1.736, allocations: 4.375 kB / 1.168 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/1.736, allocations: 8.125 kB / 1.168 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003063/1.737, allocations: 69.64 kB / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/1.737, allocations: 0 / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/1.737, allocations: 0 / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/1.737, allocations: 4 kB / 1.169 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003519/1.737, allocations: 47.95 kB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006909/1.738, allocations: 292.8 kB / 1.169 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/1.738, allocations: 66.53 kB / 1.169 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/1.738, allocations: 28.92 kB / 1.169 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/1.738, allocations: 0 / 1.169 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/1.738, allocations: 38.55 kB / 1.169 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/1.738, allocations: 0 / 1.169 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0006682/1.739, allocations: 113.5 kB / 1.169 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/1.739, allocations: 55.41 kB / 1.169 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/1.739, allocations: 109.8 kB / 1.169 GB, free: 396 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/1.739, allocations: 25.7 kB / 1.169 GB, free: 364 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.923e-05/1.739, allocations: 84.14 kB / 1.169 GB, free: 276 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/1.74, allocations: 19.84 kB / 1.169 GB, free: 256 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.258e-05/1.74, allocations: 17.7 kB / 1.169 GB, free: 232 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002423/1.74, allocations: 322.7 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/1.74, allocations: 23.97 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/1.74, allocations: 19.98 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/1.741, allocations: 60.81 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.741, allocations: 0 / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003969/1.741, allocations: 89.58 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/1.743, allocations: 4 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/1.744, allocations: 336 / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/1.744, allocations: 4 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/1.744, allocations: 11.98 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/1.744, allocations: 0 / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/1.744, allocations: 11.98 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/1.744, allocations: 3.938 kB / 1.17 GB, free: 15.67 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 0.0001532/1.744, allocations: 117.8 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.054e-05/1.744, allocations: 4.203 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.541e-05/1.744, allocations: 7.906 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/1.744, allocations: 0 / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/1.744, allocations: 7.984 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/1.744, allocations: 3.938 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003346/1.745, allocations: 173.6 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/1.745, allocations: 4 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/1.745, allocations: 19.92 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/1.745, allocations: 0 / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/1.745, allocations: 3.984 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/1.745, allocations: 0 / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.745, allocations: 0 / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005229/1.745, allocations: 187.4 kB / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.077e-05/1.745, allocations: 81.06 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/1.746, allocations: 0 / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/1.746, allocations: 11.98 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.659e-05/1.746, allocations: 7.984 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/1.746, allocations: 4 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001013/1.746, allocations: 87.22 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.1e-07/1.746, allocations: 0 / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004354/1.746, allocations: 4 kB / 1.171 GB, free: 14.86 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.0009955/1.747, allocations: 0.7202 MB / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004759/1.748, allocations: 59.89 kB / 1.171 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.748, allocations: 4 kB / 1.171 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002366/1.748, allocations: 35.91 kB / 1.171 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000543/1.749, allocations: 11.94 kB / 1.171 GB, free: 14 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002822/1.752, allocations: 1.317 MB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004974/1.752, allocations: 0.6807 MB / 1.173 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.446e-05/1.752, allocations: 4 kB / 1.173 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.9e-05/1.752, allocations: 19.52 kB / 1.173 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of SimCode: time 7.42e-07/1.752, allocations: 3.938 kB / 1.173 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1007/1.853, allocations: 1.821 MB / 1.175 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.74/19.59, allocations: 20.62 kB / 1.175 GB, free: 10.12 MB / 0.9044 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins1/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