Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_9_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.001253/0.001253, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001205/0.001205, allocations: 189.6 kB / 16.25 MB, free: 6.637 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.195/1.195, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.089/2.089, allocations: 390.2 MB / 0.6644 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.001229, allocations: 59.91 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5034/0.5047, allocations: 140.3 MB / 0.9492 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001628/0.5063, allocations: 0.5943 MB / 0.9498 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003324/0.5067, allocations: 141.4 kB / 0.9499 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.317e-05/0.5067, allocations: 0 / 0.9499 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.391e-05/0.5068, allocations: 0 / 0.9499 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001641/0.5069, allocations: 10.67 kB / 0.9499 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.194e-05/0.507, allocations: 20.23 kB / 0.95 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.667e-05/0.5071, allocations: 28.23 kB / 0.95 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.649e-05/0.5071, allocations: 6.734 kB / 0.95 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.008e-05/0.5071, allocations: 13.44 kB / 0.95 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002636/0.5074, allocations: 330.7 kB / 0.9503 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.5074, allocations: 1.375 kB / 0.9503 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.242e-05/0.5075, allocations: 21.61 kB / 0.9503 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.5075, allocations: 1.375 kB / 0.9503 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.529e-05/0.5075, allocations: 19.98 kB / 0.9504 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.016e-05/0.5076, allocations: 36.22 kB / 0.9504 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5076, allocations: 0 / 0.9504 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5076, allocations: 0 / 0.9504 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.5076, allocations: 7.938 kB / 0.9504 GB, free: 8.246 MB / 0.7169 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.0002166/0.5079, allocations: 351.3 kB / 0.9507 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.5079, allocations: 9.625 kB / 0.9508 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.26e-05/0.5079, allocations: 34.75 kB / 0.9508 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.511e-05/0.508, allocations: 7.594 kB / 0.9508 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.066e-05/0.508, allocations: 176.4 kB / 0.951 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-06/0.508, allocations: 1.75 kB / 0.951 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.5081, allocations: 1.75 kB / 0.951 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.695e-05/0.5082, allocations: 51.25 kB / 0.951 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.5082, allocations: 4 kB / 0.951 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-06/0.5082, allocations: 1.375 kB / 0.951 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.5082, allocations: 3.984 kB / 0.951 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.373e-05/0.5083, allocations: 18.94 kB / 0.951 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002384/0.5085, allocations: 274.6 kB / 0.9513 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.574e-05/0.5085, allocations: 17.2 kB / 0.9513 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.26e-05/0.5086, allocations: 6.203 kB / 0.9513 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.042e-06/0.5086, allocations: 4 kB / 0.9513 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.062e-05/0.5086, allocations: 31.81 kB / 0.9514 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.5086, allocations: 0 / 0.9514 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001142/0.5087, allocations: 40.36 kB / 0.9514 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.723e-05/0.5087, allocations: 52.94 kB / 0.9514 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.414e-05/0.5088, allocations: 145.5 kB / 0.9516 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.519e-06/0.5088, allocations: 29.64 kB / 0.9516 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.66e-05/0.5089, allocations: 96.02 kB / 0.9517 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.318e-06/0.5089, allocations: 4 kB / 0.9517 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.5089, allocations: 26.61 kB / 0.9517 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.445e-05/0.5089, allocations: 320.5 kB / 0.952 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.332e-05/0.509, allocations: 9.766 kB / 0.952 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.023e-05/0.509, allocations: 10.78 kB / 0.9521 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.198e-05/0.509, allocations: 24 kB / 0.9521 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.509, allocations: 3.938 kB / 0.9521 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.466e-05/0.5091, allocations: 64.09 kB / 0.9521 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.5092, allocations: 8.156 kB / 0.9522 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.5092, allocations: 1.562 kB / 0.9522 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.5092, allocations: 192 / 0.9522 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.906e-05/0.5092, allocations: 5.656 kB / 0.9522 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.5092, allocations: 0 / 0.9522 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.483e-05/0.5092, allocations: 9.938 kB / 0.9522 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.5092, allocations: 1.531 kB / 0.9522 GB, free: 6.383 MB / 0.7169 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 3.804e-05/0.5093, allocations: 119.9 kB / 0.9523 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.5093, allocations: 11.25 kB / 0.9523 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.792e-05/0.5093, allocations: 8.906 kB / 0.9523 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.5093, allocations: 3.984 kB / 0.9523 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.5094, allocations: 1.219 kB / 0.9523 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.5094, allocations: 3.938 kB / 0.9523 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.5095, allocations: 355.4 kB / 0.9527 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.5095, allocations: 0 / 0.9527 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-06/0.5095, allocations: 4 kB / 0.9527 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.5096, allocations: 0.7188 kB / 0.9527 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.5096, allocations: 3.938 kB / 0.9527 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.5096, allocations: 5.125 kB / 0.9527 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5096, allocations: 0 / 0.9527 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.593e-05/0.5096, allocations: 61.94 kB / 0.9527 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.316e-05/0.5096, allocations: 81.02 kB / 0.9528 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.5097, allocations: 5.188 kB / 0.9528 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.227e-05/0.5097, allocations: 0 / 0.9528 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.921e-05/0.5097, allocations: 2.562 kB / 0.9528 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.5097, allocations: 4.031 kB / 0.9528 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.09e-05/0.5097, allocations: 114.4 kB / 0.9529 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5098, allocations: 0 / 0.9529 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001999/0.51, allocations: 17.06 kB / 0.9529 GB, free: 5.543 MB / 0.7169 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.0003012/0.5103, allocations: 0.6188 MB / 0.9535 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.087e-05/0.5104, allocations: 21.97 kB / 0.9536 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5104, allocations: 0 / 0.9536 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.295e-06/0.5104, allocations: 6.641 kB / 0.9536 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.5105, allocations: 1.531 kB / 0.9536 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.5108, allocations: 159.8 kB / 0.9537 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.818e-05/0.5109, allocations: 0.6844 MB / 0.9544 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.688e-05/0.5109, allocations: 12.7 kB / 0.9544 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.5109, allocations: 17.78 kB / 0.9544 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.5109, allocations: 3.938 kB / 0.9544 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.215/1.726, allocations: 1.484 MB / 0.9559 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/1.726, allocations: 242.4 kB / 0.9561 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/3.563, allocations: 4.969 kB / 0.9561 GB, free: 2.988 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Cryptographics_Validation_SHA1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Cryptographics_Validation_SHA1.fmu > Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches