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.001116/0.001116, 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.00128/0.00128, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.252/2.252, allocations: 390.3 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.00133, allocations: 72.02 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5578/0.5591, allocations: 140.4 MB / 0.9497 GB, free: 9.297 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001501/0.5606, allocations: 0.5129 MB / 0.9502 GB, free: 8.906 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000321/0.561, allocations: 146.6 kB / 0.9504 GB, free: 8.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.315e-05/0.561, allocations: 0 / 0.9504 GB, free: 8.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.561, allocations: 3.938 kB / 0.9504 GB, free: 8.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.5612, allocations: 10.69 kB / 0.9504 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.494e-05/0.5613, allocations: 28.16 kB / 0.9504 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.606e-05/0.5613, allocations: 30.86 kB / 0.9504 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.5614, allocations: 2.75 kB / 0.9504 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.95e-05/0.5614, allocations: 9.438 kB / 0.9504 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002677/0.5617, allocations: 323.1 kB / 0.9508 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.5617, allocations: 2 kB / 0.9508 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.062e-05/0.5617, allocations: 16.86 kB / 0.9508 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.5618, allocations: 2.781 kB / 0.9508 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.18e-05/0.5618, allocations: 18.7 kB / 0.9508 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.392e-05/0.5619, allocations: 44.7 kB / 0.9508 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5619, allocations: 0 / 0.9508 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5619, allocations: 0 / 0.9508 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.5619, allocations: 0 / 0.9508 GB, free: 8.492 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.0002174/0.5621, allocations: 355 kB / 0.9512 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.5622, allocations: 9.625 kB / 0.9512 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.541e-05/0.5622, allocations: 36.5 kB / 0.9512 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.391e-05/0.5622, allocations: 6.562 kB / 0.9512 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.485e-05/0.5623, allocations: 171 kB / 0.9514 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.5623, allocations: 5.688 kB / 0.9514 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.5623, allocations: 2.062 kB / 0.9514 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.535e-05/0.5624, allocations: 52.17 kB / 0.9514 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.5624, allocations: 0 / 0.9514 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.5624, allocations: 5.219 kB / 0.9514 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.5624, allocations: 0 / 0.9514 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.445e-05/0.5625, allocations: 18.83 kB / 0.9515 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002351/0.5627, allocations: 270.1 kB / 0.9517 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.864e-05/0.5628, allocations: 20.64 kB / 0.9517 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.297e-05/0.5628, allocations: 6.391 kB / 0.9517 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-06/0.5628, allocations: 9.109 kB / 0.9518 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.224e-05/0.5628, allocations: 30.56 kB / 0.9518 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/0.5628, allocations: 1 kB / 0.9518 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001092/0.5629, allocations: 40.95 kB / 0.9518 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.776e-05/0.563, allocations: 51.41 kB / 0.9519 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.024e-05/0.563, allocations: 146.4 kB / 0.952 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.89e-06/0.5631, allocations: 29.64 kB / 0.952 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.485e-05/0.5631, allocations: 99.78 kB / 0.9521 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.31e-06/0.5631, allocations: 4 kB / 0.9521 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.5631, allocations: 26.55 kB / 0.9522 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.174e-05/0.5632, allocations: 316.2 kB / 0.9525 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.402e-05/0.5632, allocations: 13.91 kB / 0.9525 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.23e-05/0.5632, allocations: 14.8 kB / 0.9525 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.103e-05/0.5633, allocations: 20.33 kB / 0.9525 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.5633, allocations: 0 / 0.9525 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.375e-05/0.5634, allocations: 63.91 kB / 0.9526 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.5634, allocations: 4.594 kB / 0.9526 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.5634, allocations: 0 / 0.9526 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.5634, allocations: 1.312 kB / 0.9526 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.85e-05/0.5634, allocations: 5.266 kB / 0.9526 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.5634, allocations: 1.219 kB / 0.9526 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.592e-05/0.5635, allocations: 13.16 kB / 0.9526 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.5635, allocations: 1.375 kB / 0.9526 GB, free: 6.625 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.776e-05/0.5635, allocations: 116.8 kB / 0.9527 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.5635, allocations: 6.562 kB / 0.9527 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.675e-05/0.5636, allocations: 13.05 kB / 0.9527 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.31e-07/0.5636, allocations: 0 / 0.9527 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5636, allocations: 1.5 kB / 0.9527 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.5636, allocations: 3.938 kB / 0.9527 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.5637, allocations: 353.8 kB / 0.9531 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5638, allocations: 5.125 kB / 0.9531 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.078e-06/0.5638, allocations: 3.984 kB / 0.9531 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.5638, allocations: 0.9688 kB / 0.9531 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.5638, allocations: 4.125 kB / 0.9531 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.5638, allocations: 4 kB / 0.9531 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5638, allocations: 0.9062 kB / 0.9531 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.441e-05/0.5638, allocations: 56.64 kB / 0.9531 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.5639, allocations: 87.02 kB / 0.9532 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.5639, allocations: 11.95 kB / 0.9532 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.337e-05/0.5639, allocations: 0.5938 kB / 0.9532 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.5639, allocations: 1.531 kB / 0.9532 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.5639, allocations: 5.719 kB / 0.9532 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.125e-05/0.564, allocations: 101.9 kB / 0.9533 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.564, allocations: 0 / 0.9533 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001949/0.5642, allocations: 14.06 kB / 0.9534 GB, free: 5.797 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.0002953/0.5645, allocations: 0.6244 MB / 0.954 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.776e-05/0.5646, allocations: 33.08 kB / 0.954 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5646, allocations: 0 / 0.954 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.925e-06/0.5646, allocations: 6.469 kB / 0.954 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.5647, allocations: 2.406 kB / 0.954 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002583/0.565, allocations: 144.3 kB / 0.9541 GB, free: 5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.753e-05/0.5651, allocations: 0.6848 MB / 0.9548 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.561e-05/0.5651, allocations: 7.844 kB / 0.9548 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.405e-05/0.5651, allocations: 21.7 kB / 0.9548 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.5652, allocations: 0 / 0.9548 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01626/0.5814, allocations: 1.556 MB / 0.9564 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.275/7.856, allocations: 9.391 kB / 0.9564 GB, free: 3.379 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 & python3 -m fmpy simulate --output-file Buildings_9_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_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.csv","/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