Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Integers_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,fileNamePrefix="Buildings_11_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.007666/0.007666, allocations: 97.42 kB / 15.73 MB, free: 5.988 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.002158/0.002158, allocations: 186.9 kB / 16.67 MB, free: 5.918 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.877/2.877, allocations: 469.8 MB / 0.7425 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 59.91 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.277, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001822/0.2789, allocations: 0.7072 MB / 1.221 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009484/0.2798, allocations: 0.8312 MB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.834e-05/0.2799, allocations: 0 / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.702e-05/0.2799, allocations: 3.938 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.304e-05/0.28, allocations: 3.938 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.2801, allocations: 31.89 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.907e-05/0.2802, allocations: 43.86 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.2804, allocations: 27.92 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.176e-05/0.2804, allocations: 11.98 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.181e-05/0.2805, allocations: 31.89 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.2805, allocations: 4 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.435e-05/0.2805, allocations: 7.938 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.2806, allocations: 8 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.352e-05/0.2806, allocations: 19.92 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.896e-05/0.2807, allocations: 47.78 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2807, allocations: 0 / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.203e-06/0.2807, allocations: 0 / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.2807, allocations: 0 / 1.222 GB, free: 12.5 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.0005132/0.2813, allocations: 359.3 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.2813, allocations: 12.03 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.761e-05/0.2814, allocations: 34.73 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.2814, allocations: 4.938 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.2815, allocations: 168.3 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.2815, allocations: 8.375 kB / 1.222 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.2816, allocations: 4.125 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.2818, allocations: 69.66 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.2818, allocations: 0 / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.2818, allocations: 0 / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.2818, allocations: 0 / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002265/0.282, allocations: 55.94 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.2825, allocations: 288.8 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.2827, allocations: 70.53 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.2828, allocations: 24.92 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.2829, allocations: 4 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.2829, allocations: 34.56 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2829, allocations: 0 / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004355/0.2833, allocations: 121.7 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.2834, allocations: 51.41 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.753e-05/0.2835, allocations: 109.8 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.2835, allocations: 25.7 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.2835, allocations: 88.14 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.2836, allocations: 15.78 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/0.2836, allocations: 21.7 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.2838, allocations: 318.8 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.2839, allocations: 27.97 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.284, allocations: 27.97 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.2842, allocations: 52.81 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.2842, allocations: 0 / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002576/0.2845, allocations: 93.58 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.2845, allocations: 7.938 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.2845, allocations: 0 / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.2845, allocations: 0 / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.2846, allocations: 11.98 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.2847, allocations: 4 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.963e-05/0.2847, allocations: 7.938 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.2847, allocations: 7.938 kB / 1.224 GB, free: 10.18 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.286e-05/0.2848, allocations: 113.8 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.2849, allocations: 4 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/0.2849, allocations: 7.906 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2849, allocations: 0 / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2849, allocations: 0 / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2849, allocations: 4 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.2851, allocations: 173.6 kB / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2851, allocations: 0 / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.989e-05/0.2852, allocations: 15.92 kB / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2852, allocations: 0 / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.2852, allocations: 8 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.2853, allocations: 3.984 kB / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2853, allocations: 0 / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.2856, allocations: 187.4 kB / 1.224 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.604e-05/0.2856, allocations: 81.11 kB / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.2856, allocations: 0 / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.988e-05/0.2857, allocations: 8 kB / 1.225 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.915e-05/0.2858, allocations: 11.98 kB / 1.225 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.2858, allocations: 4.234 kB / 1.225 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.125e-05/0.2859, allocations: 91.22 kB / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.964e-06/0.2859, allocations: 0 / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002238/0.2861, allocations: 11.94 kB / 1.225 GB, free: 9.363 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.0006553/0.2868, allocations: 0.7207 MB / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002644/0.2871, allocations: 56.17 kB / 1.225 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2871, allocations: 0 / 1.225 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.2872, allocations: 43.98 kB / 1.225 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.2875, allocations: 4 kB / 1.225 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.2891, allocations: 1.324 MB / 1.227 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.2894, allocations: 0.6807 MB / 1.227 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.505e-05/0.2894, allocations: 8.25 kB / 1.227 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.878e-05/0.2895, allocations: 23.42 kB / 1.227 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.2895, allocations: 0 / 1.227 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02091/0.3104, allocations: 1.809 MB / 1.229 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.613/7.924, allocations: 13.62 kB / 1.229 GB, free: 4.641 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Abs.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches