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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001573/0.001573, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001832/0.001832, allocations: 192.2 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.316/2.316, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.872/4.872, allocations: 461.9 MB / 0.7344 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002594/0.002594, allocations: 64.08 kB / 0.8987 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5004/0.503, allocations: 157.4 MB / 1.052 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.00436/0.5075, allocations: 0.591 MB / 1.053 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009754/0.5085, allocations: 160 kB / 1.053 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.559e-05/0.5086, allocations: 4 kB / 1.053 GB, free: 7.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.542e-05/0.5087, allocations: 0 / 1.053 GB, free: 7.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003566/0.5091, allocations: 15.86 kB / 1.053 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001568/0.5092, allocations: 19.98 kB / 1.053 GB, free: 7.848 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.5094, allocations: 23.92 kB / 1.053 GB, free: 7.824 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.5095, allocations: 0 / 1.053 GB, free: 7.824 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.271e-05/0.5096, allocations: 19.91 kB / 1.053 GB, free: 7.805 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006429/0.5102, allocations: 308.3 kB / 1.053 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.5103, allocations: 0 / 1.053 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.5104, allocations: 12 kB / 1.054 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.073e-05/0.5105, allocations: 15.92 kB / 1.054 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.239e-05/0.5106, allocations: 23.86 kB / 1.054 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.5108, allocations: 27.91 kB / 1.054 GB, free: 7.453 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.5108, allocations: 0 / 1.054 GB, free: 7.453 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.617e-06/0.5108, allocations: 0 / 1.054 GB, free: 7.453 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.5108, allocations: 0 / 1.054 GB, free: 7.453 MB / 0.8106 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.0006215/0.5114, allocations: 350.1 kB / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 7.258e-05/0.5115, allocations: 12.03 kB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.039e-05/0.5116, allocations: 38.73 kB / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.427e-05/0.5117, allocations: 8.781 kB / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.512, allocations: 184.2 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.512, allocations: 4.375 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.512, allocations: 384 / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.5123, allocations: 57.56 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.5124, allocations: 0 / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.5124, allocations: 0 / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.5124, allocations: 0 / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.396e-05/0.5125, allocations: 15.98 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006166/0.5131, allocations: 284.8 kB / 1.054 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.5133, allocations: 22.64 kB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.711e-05/0.5133, allocations: 4.859 kB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.5133, allocations: 0 / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.5134, allocations: 30.56 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 2.314e-06/0.5134, allocations: 0 / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0002373/0.5137, allocations: 37.64 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.5137, allocations: 55.53 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.514, allocations: 139.6 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.514, allocations: 25.7 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.5141, allocations: 108 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.297e-06/0.5142, allocations: 0 / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.911e-05/0.5143, allocations: 25.7 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.5145, allocations: 322.8 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.982e-05/0.5145, allocations: 7.984 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.08e-05/0.5146, allocations: 16 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.067e-05/0.5147, allocations: 16.98 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.5147, allocations: 4 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002446/0.515, allocations: 69.52 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.515, allocations: 4 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.515, allocations: 0 / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.5151, allocations: 0 / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.166e-05/0.5151, allocations: 4 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.5151, allocations: 0 / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.842e-05/0.5152, allocations: 3.938 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.5152, allocations: 8 kB / 1.055 GB, free: 5.402 MB / 0.8106 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 0.0001193/0.5153, allocations: 109.8 kB / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.468e-05/0.5154, allocations: 7.906 kB / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.249e-05/0.5155, allocations: 11.52 kB / 1.055 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.902e-06/0.5155, allocations: 3.938 kB / 1.055 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.5155, allocations: 3.938 kB / 1.055 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.5155, allocations: 3.938 kB / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004459/0.516, allocations: 362.7 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.516, allocations: 0 / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.685e-06/0.516, allocations: 0 / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.516, allocations: 0 / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.516, allocations: 3.938 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.516, allocations: 0 / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.5161, allocations: 4 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.5162, allocations: 61.05 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.481e-05/0.5163, allocations: 85.16 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.5163, allocations: 7.875 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.347e-05/0.5163, allocations: 0 / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.5164, allocations: 4 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-06/0.5164, allocations: 0 / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001151/0.5165, allocations: 99.27 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.21e-07/0.5166, allocations: 0 / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003528/0.5169, allocations: 15.98 kB / 1.056 GB, free: 4.527 MB / 0.8106 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.0008214/0.5178, allocations: 0.6338 MB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001533/0.5179, allocations: 27.88 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.5179, allocations: 4.031 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.051e-05/0.518, allocations: 0 / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.5182, allocations: 4 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005852/0.5188, allocations: 158.7 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/0.5193, allocations: 0.6807 MB / 1.058 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.463e-05/0.5194, allocations: 12 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.483e-05/0.5194, allocations: 19.42 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of SimCode: time 4.11e-07/0.5194, allocations: 0 / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5797/1.099, allocations: 1.489 MB / 1.059 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005425/1.1, allocations: 253 kB / 1.059 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.737/5.836, allocations: 7.938 kB / 1.059 GB, free: 1.277 MB / 0.8106 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Cryptographics_Validation_SHA1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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