Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_10_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.007594/0.007594, allocations: 97.39 kB / 15.73 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.001953/0.001953, allocations: 202.1 kB / 16.68 MB, free: 5.961 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.472/1.472, 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 10.1.1-maint.10.0.x/package.mo): time 2.76/2.76, allocations: 437.1 MB / 0.7105 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 64.08 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2999, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001851/0.3018, allocations: 0.5243 MB / 1.167 GB, free: 6.75 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004861/0.3023, allocations: 156.4 kB / 1.167 GB, free: 6.594 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.451e-05/0.3024, allocations: 0 / 1.167 GB, free: 6.594 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.399e-05/0.3024, allocations: 3.938 kB / 1.167 GB, free: 6.59 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.3026, allocations: 7.938 kB / 1.167 GB, free: 6.582 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 6.399e-05/0.3027, allocations: 19.92 kB / 1.167 GB, free: 6.562 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.615e-05/0.3027, allocations: 31.84 kB / 1.167 GB, free: 6.531 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.266e-05/0.3028, allocations: 4 kB / 1.167 GB, free: 6.527 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.454e-05/0.3028, allocations: 11.98 kB / 1.167 GB, free: 6.516 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000374/0.3032, allocations: 324.9 kB / 1.167 GB, free: 6.215 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.3032, allocations: 4 kB / 1.167 GB, free: 6.211 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.827e-05/0.3033, allocations: 16 kB / 1.167 GB, free: 6.195 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.3033, allocations: 4 kB / 1.167 GB, free: 6.191 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.3033, allocations: 15.86 kB / 1.167 GB, free: 6.176 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.3035, allocations: 44.05 kB / 1.167 GB, free: 6.133 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3035, allocations: 0 / 1.167 GB, free: 6.133 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3035, allocations: 0 / 1.167 GB, free: 6.133 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.3035, allocations: 0 / 1.167 GB, free: 6.133 MB / 0.92 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.0003709/0.3039, allocations: 355.2 kB / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.3039, allocations: 8.031 kB / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.725e-05/0.304, allocations: 42.69 kB / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.425e-05/0.304, allocations: 4.891 kB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.3041, allocations: 172.3 kB / 1.168 GB, free: 5.469 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.3041, allocations: 384 / 1.168 GB, free: 5.469 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-06/0.3042, allocations: 4.375 kB / 1.168 GB, free: 5.465 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.3043, allocations: 45.62 kB / 1.168 GB, free: 5.414 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3043, allocations: 4 kB / 1.168 GB, free: 5.41 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.3043, allocations: 8 kB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3043, allocations: 0 / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.346e-05/0.3044, allocations: 19.92 kB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.3048, allocations: 280.8 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.16e-05/0.3048, allocations: 14.58 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.703e-05/0.3049, allocations: 12.86 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.311e-06/0.3049, allocations: 0 / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.3049, allocations: 38.56 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.3049, allocations: 0 / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001347/0.305, allocations: 37.64 kB / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.3051, allocations: 51.41 kB / 1.168 GB, free: 4.867 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.3052, allocations: 140 kB / 1.168 GB, free: 4.723 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.3053, allocations: 25.7 kB / 1.168 GB, free: 4.691 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.999e-05/0.3053, allocations: 96.08 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.336e-06/0.3053, allocations: 8.125 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.3054, allocations: 33.59 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.3056, allocations: 314.8 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.159e-05/0.3056, allocations: 15.98 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.252e-05/0.3056, allocations: 8.125 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.045e-05/0.3057, allocations: 20.86 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3057, allocations: 0 / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000115/0.3058, allocations: 65.61 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3058, allocations: 4 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.3058, allocations: 4 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.3058, allocations: 0 / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.117e-05/0.3059, allocations: 4 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3059, allocations: 0 / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.141e-05/0.3059, allocations: 15.83 kB / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.3059, allocations: 4 kB / 1.169 GB, free: 4.082 MB / 0.92 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 7.677e-05/0.306, allocations: 105.8 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.306, allocations: 4 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.3061, allocations: 15.52 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.3061, allocations: 4 kB / 1.169 GB, free: 3.941 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3061, allocations: 0 / 1.169 GB, free: 3.941 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.3061, allocations: 7.922 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.3064, allocations: 362.7 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3064, allocations: 0 / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.697e-06/0.3064, allocations: 0 / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.3064, allocations: 0 / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.3064, allocations: 3.938 kB / 1.17 GB, free: 3.516 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.3064, allocations: 0 / 1.17 GB, free: 3.516 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3064, allocations: 8.031 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.183e-05/0.3065, allocations: 57.08 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.743e-05/0.3066, allocations: 89.05 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.3066, allocations: 8 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.285e-05/0.3066, allocations: 0 / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.3066, allocations: 0 / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.3067, allocations: 7.938 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.767e-05/0.3067, allocations: 103.3 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3067, allocations: 0 / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001987/0.307, allocations: 12 kB / 1.17 GB, free: 3.199 MB / 0.92 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.000528/0.3075, allocations: 0.6256 MB / 1.17 GB, free: 2.555 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.446e-05/0.3076, allocations: 31.88 kB / 1.17 GB, free: 2.523 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3076, allocations: 0 / 1.17 GB, free: 2.523 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.224e-06/0.3076, allocations: 0 / 1.17 GB, free: 2.523 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.3077, allocations: 6.031 kB / 1.17 GB, free: 2.52 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003644/0.3081, allocations: 142.5 kB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.3084, allocations: 0.6846 MB / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.827e-05/0.3085, allocations: 8.375 kB / 1.171 GB, free: 1.621 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.3085, allocations: 19.42 kB / 1.171 GB, free: 1.602 MB / 0.92 GB Notification: Performance of SimCode: time 2.31e-07/0.3085, allocations: 0 / 1.171 GB, free: 1.602 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.3307, allocations: 1.599 MB / 1.173 GB, free: 100 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.183/8.514, allocations: 20.14 kB / 1.173 GB, free: 84 kB / 0.92 GB (rm -f Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Cryptographics_Validation_SHA1.fmu > Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches