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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_latest_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.005231/0.005231, allocations: 103.7 kB / 15.74 MB, free: 6.039 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.001316/0.001316, allocations: 201.8 kB / 16.68 MB, free: 5.965 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.734/2.734, allocations: 469.4 MB / 0.7421 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 67.89 kB / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2956, allocations: 159.1 MB / 1.22 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001936/0.2976, allocations: 0.7034 MB / 1.22 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.2987, allocations: 0.8312 MB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.579e-05/0.2988, allocations: 0 / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.506e-05/0.2989, allocations: 3.938 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.122e-05/0.299, allocations: 4 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.2991, allocations: 27.91 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.883e-05/0.2992, allocations: 47.86 kB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.2993, allocations: 19.97 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.306e-05/0.2994, allocations: 15.98 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.771e-05/0.2995, allocations: 23.92 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.2995, allocations: 7.938 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.363e-05/0.2996, allocations: 7.938 kB / 1.221 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.39e-05/0.2996, allocations: 11.97 kB / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.491e-05/0.2996, allocations: 23.92 kB / 1.221 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.2997, allocations: 39.81 kB / 1.221 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.2998, allocations: 3.984 kB / 1.221 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2998, allocations: 0 / 1.221 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.2998, allocations: 0 / 1.221 GB, free: 12.82 MB / 0.9825 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.000512/0.3003, allocations: 359.3 kB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.3003, allocations: 8.031 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.789e-05/0.3004, allocations: 34.69 kB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/0.3004, allocations: 8.922 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.3006, allocations: 176.3 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.3006, allocations: 4.375 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.3006, allocations: 8.125 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.3008, allocations: 65.64 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.3008, allocations: 0 / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.3009, allocations: 3.984 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.3009, allocations: 4 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.3011, allocations: 59.88 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.3015, allocations: 284.8 kB / 1.222 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.3017, allocations: 58.55 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.3019, allocations: 36.91 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.3019, allocations: 0 / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.3019, allocations: 38.5 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.3019, allocations: 0 / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004363/0.3024, allocations: 109.6 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.3024, allocations: 59.39 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.174e-05/0.3025, allocations: 101.9 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.3025, allocations: 25.7 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.3026, allocations: 92.12 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.3026, allocations: 15.86 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.3027, allocations: 21.72 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.671e-05/0.3028, allocations: 318.8 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.3029, allocations: 19.98 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.718e-05/0.303, allocations: 27.97 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.3032, allocations: 60.75 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3032, allocations: 256 / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002493/0.3035, allocations: 85.64 kB / 1.223 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3035, allocations: 4 kB / 1.223 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3035, allocations: 4 kB / 1.223 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3035, allocations: 4 kB / 1.223 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.3036, allocations: 15.92 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3037, allocations: 4 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.457e-05/0.3037, allocations: 11.94 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.3038, allocations: 3.938 kB / 1.224 GB, free: 10.5 MB / 0.9825 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.594e-05/0.3038, allocations: 114.4 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.3039, allocations: 3.938 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.3039, allocations: 7.906 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3039, allocations: 4 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3039, allocations: 0 / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3039, allocations: 0 / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.3041, allocations: 181.9 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3041, allocations: 0 / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.522e-05/0.3042, allocations: 15.98 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3042, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.3043, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3043, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3043, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.3046, allocations: 199.4 kB / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.3046, allocations: 81.09 kB / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.3046, allocations: 0 / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.3048, allocations: 4 kB / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.819e-05/0.3048, allocations: 15.92 kB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.3048, allocations: 0 / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.605e-05/0.3049, allocations: 95.2 kB / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.433e-06/0.3049, allocations: 0 / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002294/0.3051, allocations: 7.938 kB / 1.224 GB, free: 9.68 MB / 0.9825 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.0005844/0.3057, allocations: 0.7163 MB / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002674/0.306, allocations: 63.88 kB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.306, allocations: 0 / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.3061, allocations: 35.97 kB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.3065, allocations: 5.875 kB / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.3079, allocations: 1.322 MB / 1.226 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.3082, allocations: 0.6846 MB / 1.227 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.266e-05/0.3082, allocations: 4.25 kB / 1.227 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.98e-05/0.3083, allocations: 23.42 kB / 1.227 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.3083, allocations: 0 / 1.227 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01712/0.3254, allocations: 1.827 MB / 1.229 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.35/7.676, allocations: 2.031 kB / 1.229 GB, free: 4.969 MB / 0.9825 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv","/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