Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.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.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_11_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_11_Buildings_Utilities_Cryptographics_Validation_SHA1",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.001641/0.001641, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 194.9 kB / 16.53 MB, free: 6.699 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.402/1.402, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.691/2.691, allocations: 469.8 MB / 0.7424 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 75.92 kB / 0.9086 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2895, allocations: 159.2 MB / 1.064 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001563/0.2911, allocations: 0.5311 MB / 1.065 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003493/0.2915, allocations: 148.1 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.237e-05/0.2915, allocations: 7.938 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.2915, allocations: 3.938 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.2917, allocations: 7.938 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.284e-05/0.2918, allocations: 23.91 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.597e-05/0.2918, allocations: 19.98 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.2919, allocations: 8 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.511e-05/0.2919, allocations: 15.92 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003287/0.2922, allocations: 323 kB / 1.065 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.2923, allocations: 4 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.639e-05/0.2923, allocations: 15.98 kB / 1.065 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.757e-05/0.2923, allocations: 15.92 kB / 1.065 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.05e-05/0.2924, allocations: 7.875 kB / 1.065 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.401e-05/0.2924, allocations: 39.89 kB / 1.065 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.2924, allocations: 0 / 1.065 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.173e-06/0.2925, allocations: 4 kB / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.2925, allocations: 0 / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000315/0.2928, allocations: 343.6 kB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2928, allocations: 12.02 kB / 1.066 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.377e-05/0.2929, allocations: 34.75 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.174e-05/0.2929, allocations: 4.938 kB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.293, allocations: 172.2 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.293, allocations: 8.312 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.2931, allocations: 4.375 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.2932, allocations: 53.55 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.2932, allocations: 0 / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.2932, allocations: 0 / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.2932, allocations: 4 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.527e-05/0.2932, allocations: 19.98 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003271/0.2936, allocations: 284.8 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.241e-05/0.2936, allocations: 14.58 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.621e-05/0.2936, allocations: 8.922 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.124e-06/0.2937, allocations: 0 / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.2937, allocations: 38.5 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.2937, allocations: 0 / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001173/0.2938, allocations: 45.69 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.2938, allocations: 51.41 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.294, allocations: 137.7 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.294, allocations: 25.7 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/0.294, allocations: 91.98 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.941e-06/0.2941, allocations: 7.984 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.2941, allocations: 25.66 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.2942, allocations: 322.8 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.494e-05/0.2943, allocations: 16.12 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.285e-05/0.2943, allocations: 11.92 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.636e-05/0.2943, allocations: 16.86 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.2943, allocations: 0 / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001067/0.2944, allocations: 65.59 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.2945, allocations: 4 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2945, allocations: 3.984 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.966e-06/0.2945, allocations: 0 / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.878e-05/0.2945, allocations: 7.984 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.2945, allocations: 0 / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.873e-05/0.2945, allocations: 11.84 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.2946, allocations: 11.94 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (cmp5,cmp4,cmp3,cmp2,cmp1,cmpAll) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 6.948e-05/0.2946, allocations: 109.8 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.2947, allocations: 4 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.705e-05/0.2947, allocations: 11.47 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.2947, allocations: 0 / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.2947, allocations: 4 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2947, allocations: 7.922 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.295, allocations: 354.8 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.295, allocations: 0 / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.336e-06/0.295, allocations: 0 / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.295, allocations: 0 / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.295, allocations: 4.125 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.295, allocations: 11.92 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.295, allocations: 0 / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.784e-05/0.2951, allocations: 65.08 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-05/0.2952, allocations: 81.11 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.2952, allocations: 3.938 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.193e-05/0.2952, allocations: 0 / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/0.2952, allocations: 3.984 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-06/0.2952, allocations: 0 / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.714e-05/0.2953, allocations: 105 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2953, allocations: 0 / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000185/0.2955, allocations: 12 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmpAll) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0004592/0.2959, allocations: 0.6245 MB / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.382e-05/0.296, allocations: 23.95 kB / 1.068 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.296, allocations: 4 kB / 1.068 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.862e-06/0.2961, allocations: 4 kB / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.2962, allocations: 9.344 kB / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002812/0.2965, allocations: 150.6 kB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.2968, allocations: 0.6885 MB / 1.069 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.727e-05/0.2968, allocations: 12.03 kB / 1.069 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.2968, allocations: 15.44 kB / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of SimCode: time 1.884e-06/0.2968, allocations: 0 / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.206/2.502, allocations: 1.56 MB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/14.11, allocations: 11.97 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Cryptographics_Validation_SHA1_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Cryptographics_Validation_SHA1.fmu > Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches