Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",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.007698/0.007698, allocations: 96.91 kB / 15.73 MB, free: 6.062 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.002069/0.002069, allocations: 197.9 kB / 16.68 MB, free: 5.984 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.81/2.81, allocations: 469.8 MB / 0.7425 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 63.89 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2917, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001601/0.2933, allocations: 0.5361 MB / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 3.405e-05/0.2934, allocations: 4 kB / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.354e-05/0.2934, allocations: 0 / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.228e-05/0.2935, allocations: 0 / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.162e-05/0.2935, allocations: 4 kB / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 2.742e-05/0.2935, allocations: 0 / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.234e-05/0.2936, allocations: 3.938 kB / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.104e-05/0.2936, allocations: 8.047 kB / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.177e-05/0.2936, allocations: 0 / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.723e-05/0.2937, allocations: 3.984 kB / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.2937, allocations: 0 / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.966e-06/0.2937, allocations: 0 / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.2937, allocations: 0 / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.858e-05/0.2937, allocations: 11.94 kB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 4.902e-05/0.2938, allocations: 3.938 kB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2938, allocations: 4 kB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2938, allocations: 0 / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.2938, allocations: 0 / 1.221 GB, free: 13.71 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003027/0.2941, allocations: 319.5 kB / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.2941, allocations: 8.031 kB / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.495e-05/0.2942, allocations: 30.75 kB / 1.221 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.563e-05/0.2942, allocations: 0.9375 kB / 1.221 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.2943, allocations: 168.4 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.036e-06/0.2944, allocations: 384 / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.849e-06/0.2944, allocations: 4.375 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.781e-05/0.2944, allocations: 30.27 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.2944, allocations: 3.938 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.2945, allocations: 4 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.2945, allocations: 0 / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.449e-05/0.2945, allocations: 3.938 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003086/0.2948, allocations: 379.5 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.691e-05/0.2949, allocations: 173.1 kB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.168e-05/0.2949, allocations: 80.14 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/0.295, allocations: 75.28 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.597e-05/0.295, allocations: 117.8 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.2951, allocations: 0 / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 6.97e-05/0.2951, allocations: 35.55 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.2952, allocations: 126.7 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.042e-05/0.2953, allocations: 93.86 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.2953, allocations: 25.7 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.363e-05/0.2953, allocations: 80.14 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.2954, allocations: 3.938 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.2954, allocations: 9.719 kB / 1.222 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.2955, allocations: 327 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.466e-06/0.2955, allocations: 0 / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.675e-06/0.2955, allocations: 0 / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.08e-05/0.2956, allocations: 75.28 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.459e-05/0.2956, allocations: 83.16 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.273e-05/0.2957, allocations: 29.7 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.185e-05/0.2957, allocations: 83.22 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-05/0.2957, allocations: 75.28 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.2e-05/0.2958, allocations: 158.5 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.182e-05/0.2959, allocations: 83.28 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.827e-05/0.2959, allocations: 162.5 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.549e-05/0.296, allocations: 79.28 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.2961, allocations: 75.28 kB / 1.224 GB, free: 10.52 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001281/0.2962, allocations: 268.3 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/0.2963, allocations: 104.9 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.743e-05/0.2963, allocations: 104.1 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.753e-05/0.2964, allocations: 188.2 kB / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.838e-05/0.2965, allocations: 184.3 kB / 1.224 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.03e-05/0.2966, allocations: 176.3 kB / 1.225 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/0.2968, allocations: 413.1 kB / 1.225 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.947e-05/0.2969, allocations: 101.3 kB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.322e-05/0.2969, allocations: 104.9 kB / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.409e-05/0.297, allocations: 184.3 kB / 1.225 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.643e-05/0.2971, allocations: 176.3 kB / 1.226 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.418e-05/0.2972, allocations: 188.2 kB / 1.226 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.065e-05/0.2972, allocations: 180.2 kB / 1.226 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.2974, allocations: 307.7 kB / 1.226 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.718e-05/0.2975, allocations: 182 kB / 1.226 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.887e-05/0.2976, allocations: 184.2 kB / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.38e-05/0.2977, allocations: 109 kB / 1.227 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/0.2977, allocations: 180.2 kB / 1.227 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.557e-05/0.2978, allocations: 105 kB / 1.227 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.867e-05/0.2978, allocations: 79.28 kB / 1.227 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2978, allocations: 0 / 1.227 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002586/0.2981, allocations: 0 / 1.227 GB, free: 6.859 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0004557/0.2986, allocations: 0.8171 MB / 1.228 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 2.971e-05/0.2986, allocations: 0 / 1.228 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2986, allocations: 4 kB / 1.228 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.2986, allocations: 3.938 kB / 1.228 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.299, allocations: 455.7 kB / 1.228 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.3001, allocations: 1.524 MB / 1.23 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.3004, allocations: 0.6729 MB / 1.23 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.781e-06/0.3004, allocations: 3.938 kB / 1.23 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.875e-05/0.3004, allocations: 11.44 kB / 1.23 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of SimCode: time 2.124e-06/0.3004, allocations: 0 / 1.23 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02033/0.3207, allocations: 0.9303 MB / 1.231 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.817/8.137, allocations: 7.688 kB / 1.231 GB, free: 2.414 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches