Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_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.004536/0.004536, allocations: 98.8 kB / 15.73 MB, free: 6.047 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.00132/0.00132, allocations: 194.5 kB / 16.68 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 1.433/1.433, 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.901/2.901, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 63.91 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2897, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.00161/0.2913, allocations: 0.5725 MB / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 3.915e-05/0.2914, allocations: 3.984 kB / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.393e-05/0.2914, allocations: 0 / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.482e-05/0.2914, allocations: 0 / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.065e-05/0.2915, allocations: 3.938 kB / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 2.595e-05/0.2915, allocations: 0 / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.585e-05/0.2915, allocations: 7.984 kB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.475e-05/0.2916, allocations: 8.062 kB / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.197e-05/0.2916, allocations: 0 / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.528e-05/0.2916, allocations: 0 / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.2916, allocations: 0 / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.985e-06/0.2916, allocations: 0 / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.598e-06/0.2917, allocations: 0 / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.798e-05/0.2917, allocations: 4 kB / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 5.194e-05/0.2917, allocations: 3.938 kB / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2917, allocations: 0 / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2918, allocations: 3.938 kB / 1.221 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.2918, allocations: 7.938 kB / 1.221 GB, free: 13.68 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.0003189/0.2921, allocations: 323.5 kB / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.2921, allocations: 8.031 kB / 1.221 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.119e-05/0.2922, allocations: 30.75 kB / 1.221 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.682e-05/0.2922, allocations: 4.938 kB / 1.221 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.2923, allocations: 160.4 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.2923, allocations: 384 / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.919e-06/0.2923, allocations: 384 / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.056e-05/0.2924, allocations: 34.25 kB / 1.221 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2924, allocations: 3.938 kB / 1.221 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.119e-06/0.2925, allocations: 4 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.2925, allocations: 0 / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.34e-05/0.2925, allocations: 3.938 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.2928, allocations: 379.5 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.804e-05/0.2929, allocations: 173.1 kB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.791e-05/0.2929, allocations: 84.14 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.374e-05/0.293, allocations: 75.28 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.637e-05/0.2931, allocations: 109.9 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.2931, allocations: 3.938 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 5.989e-05/0.2931, allocations: 27.55 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/0.2932, allocations: 130.7 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.635e-05/0.2933, allocations: 97.86 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.2933, allocations: 25.7 kB / 1.222 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.93e-05/0.2934, allocations: 84.12 kB / 1.222 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-06/0.2934, allocations: 0 / 1.222 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/0.2934, allocations: 9.719 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.2935, allocations: 314.8 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.015e-06/0.2935, allocations: 8.125 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.375e-06/0.2935, allocations: 0 / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.065e-05/0.2936, allocations: 75.28 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.05e-05/0.2936, allocations: 83.16 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.705e-05/0.2937, allocations: 33.64 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.797e-05/0.2937, allocations: 79.28 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4e-05/0.2938, allocations: 75.28 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.264e-05/0.2939, allocations: 162.5 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.766e-05/0.2939, allocations: 83.28 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.966e-05/0.294, allocations: 154.5 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.372e-05/0.2941, allocations: 79.22 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.2941, allocations: 75.28 kB / 1.224 GB, free: 10.51 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.0001311/0.2942, allocations: 264.3 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.166e-05/0.2943, allocations: 112.9 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.515e-05/0.2944, allocations: 108.1 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.201e-05/0.2944, allocations: 184.2 kB / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.387e-05/0.2945, allocations: 184.2 kB / 1.224 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.166e-05/0.2946, allocations: 176.3 kB / 1.225 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.2949, allocations: 417.1 kB / 1.225 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.904e-05/0.2949, allocations: 101.3 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.565e-05/0.295, allocations: 105 kB / 1.225 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.298e-05/0.2951, allocations: 184.2 kB / 1.225 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.015e-05/0.2952, allocations: 184.2 kB / 1.226 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.635e-05/0.2953, allocations: 180.2 kB / 1.226 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.207e-05/0.2953, allocations: 184.3 kB / 1.226 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.2955, allocations: 303.7 kB / 1.226 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.535e-05/0.2956, allocations: 186 kB / 1.226 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.39e-05/0.2957, allocations: 188.2 kB / 1.227 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.9e-05/0.2958, allocations: 101 kB / 1.227 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.582e-05/0.2959, allocations: 184.2 kB / 1.227 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-05/0.2959, allocations: 101 kB / 1.227 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.256e-05/0.296, allocations: 83.27 kB / 1.227 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.91e-07/0.296, allocations: 0 / 1.227 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002676/0.2963, allocations: 0 / 1.227 GB, free: 6.832 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.000494/0.2968, allocations: 0.8158 MB / 1.228 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 3.56e-05/0.2968, allocations: 7.984 kB / 1.228 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2968, allocations: 0 / 1.228 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.193e-06/0.2968, allocations: 0 / 1.228 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.2972, allocations: 459.7 kB / 1.228 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.2983, allocations: 1.532 MB / 1.23 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.2986, allocations: 0.6729 MB / 1.23 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.35e-06/0.2987, allocations: 0 / 1.23 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.779e-05/0.2987, allocations: 7.438 kB / 1.23 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.2987, allocations: 0 / 1.23 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/0.3182, allocations: 0.9284 MB / 1.231 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.471/7.79, allocations: 4.469 kB / 1.231 GB, free: 2.391 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_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_Reals_Sources_Validation_Constant.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches