Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_latest_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.005512/0.005512, allocations: 98.14 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.001335/0.001335, 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.609/2.609, allocations: 469.4 MB / 0.7422 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 63.83 kB / 1.064 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8276/0.8289, allocations: 159.1 MB / 1.22 GB, free: 2.27 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001643/0.8306, allocations: 0.5185 MB / 1.22 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004417/0.8311, allocations: 148.1 kB / 1.22 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.459e-05/0.8311, allocations: 0 / 1.22 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.488e-05/0.8312, allocations: 3.938 kB / 1.22 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.8313, allocations: 15.92 kB / 1.22 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 7.667e-05/0.8314, allocations: 23.86 kB / 1.22 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.386e-05/0.8315, allocations: 31.84 kB / 1.22 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.577e-05/0.8316, allocations: 4 kB / 1.22 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.654e-05/0.8316, allocations: 15.92 kB / 1.22 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003341/0.8319, allocations: 315.5 kB / 1.221 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.8319, allocations: 4 kB / 1.221 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.224e-05/0.832, allocations: 23.98 kB / 1.221 GB, free: 1.195 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.832, allocations: 3.938 kB / 1.221 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.8321, allocations: 19.86 kB / 1.221 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.8322, allocations: 30.58 kB / 1.221 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.8322, allocations: 0 / 1.221 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.442e-06/0.8322, allocations: 0 / 1.221 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.8322, allocations: 0 / 1.221 GB, free: 1.145 MB / 0.9356 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.0003373/0.8326, allocations: 356.2 kB / 1.221 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.8326, allocations: 8.031 kB / 1.221 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.223e-05/0.8326, allocations: 38.69 kB / 1.221 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.8327, allocations: 8.891 kB / 1.221 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.8328, allocations: 180.3 kB / 1.221 GB, free: 484 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.8328, allocations: 384 / 1.221 GB, free: 484 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/0.8328, allocations: 384 / 1.221 GB, free: 484 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.833, allocations: 49.62 kB / 1.221 GB, free: 428 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.833, allocations: 0 / 1.221 GB, free: 428 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.833, allocations: 7.938 kB / 1.221 GB, free: 420 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.833, allocations: 0 / 1.221 GB, free: 420 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.328e-05/0.8331, allocations: 27.86 kB / 1.221 GB, free: 392 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/0.8334, allocations: 276.9 kB / 1.222 GB, free: 64 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 3.847e-05/0.8334, allocations: 18.58 kB / 1.222 GB, free: 36 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.571e-05/0.8335, allocations: 4.859 kB / 1.222 GB, free: 28 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.582e-06/0.8335, allocations: 0 / 1.222 GB, free: 28 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.8335, allocations: 42.62 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.8335, allocations: 0 / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001353/0.8337, allocations: 37.64 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.8337, allocations: 55.41 kB / 1.222 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.8338, allocations: 139.8 kB / 1.222 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.8339, allocations: 29.69 kB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.848e-05/0.8339, allocations: 92.09 kB / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.655e-06/0.8339, allocations: 4 kB / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.834, allocations: 29.66 kB / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.8341, allocations: 322.9 kB / 1.222 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.088e-05/0.8341, allocations: 11.98 kB / 1.222 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.45e-05/0.8341, allocations: 12 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.702e-05/0.8342, allocations: 12.86 kB / 1.223 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8342, allocations: 0 / 1.223 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000117/0.8343, allocations: 65.61 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.8343, allocations: 8 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.8344, allocations: 0 / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.8344, allocations: 0 / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.098e-05/0.8344, allocations: 0 / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.8344, allocations: 0 / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.276e-05/0.8344, allocations: 23.83 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.8345, allocations: 0 / 1.223 GB, free: 15.09 MB / 0.9512 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.702e-05/0.8345, allocations: 109.8 kB / 1.223 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.8346, allocations: 11.94 kB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.173e-05/0.8346, allocations: 7.531 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.8346, allocations: 0 / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.8346, allocations: 0 / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.8346, allocations: 3.938 kB / 1.223 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.8349, allocations: 362.7 kB / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.8349, allocations: 0 / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.563e-06/0.8349, allocations: 7.938 kB / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.8349, allocations: 192 / 1.223 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.8349, allocations: 7.938 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.8349, allocations: 0 / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.835, allocations: 0 / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.388e-05/0.835, allocations: 77.02 kB / 1.223 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.8351, allocations: 81.06 kB / 1.223 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.8351, allocations: 3.938 kB / 1.223 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.577e-05/0.8351, allocations: 4 kB / 1.223 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.8351, allocations: 0 / 1.223 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-06/0.8351, allocations: 0 / 1.223 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.287e-05/0.8352, allocations: 103.3 kB / 1.223 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8352, allocations: 0 / 1.223 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002281/0.8354, allocations: 11.98 kB / 1.223 GB, free: 14.2 MB / 0.9512 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.0004444/0.8359, allocations: 0.6322 MB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.446e-05/0.836, allocations: 27.91 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.836, allocations: 0 / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.058e-05/0.836, allocations: 8 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.8362, allocations: 1.203 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003183/0.8365, allocations: 150.4 kB / 1.224 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.8367, allocations: 0.6807 MB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.127e-05/0.8368, allocations: 12.11 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.8368, allocations: 15.5 kB / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of SimCode: time 3.61e-07/0.8368, allocations: 4 kB / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0163/0.8531, allocations: 1.595 MB / 1.226 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.747/8.6, allocations: 13.56 kB / 1.226 GB, free: 11.09 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_Cryptographics_Validation_SHA1.fmu > Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches