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: translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmpAll",fileNamePrefix="Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmpAll",fileNamePrefix="Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000837/0.0008372, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.006449/0.006449, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.6/1.6, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.561/2.561, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003376, allocations: 8 kB / 0.8728 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7083/0.7086, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.0007335/0.7094, allocations: 267.8 kB / 1.023 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004474/0.7099, allocations: 144.1 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.42e-05/0.7099, allocations: 0 / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.566e-05/0.7099, allocations: 3.938 kB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.7101, allocations: 8 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 6.265e-05/0.7102, allocations: 27.91 kB / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.556e-05/0.7103, allocations: 23.92 kB / 1.023 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.933e-05/0.7103, allocations: 0 / 1.023 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.837e-05/0.7103, allocations: 11.94 kB / 1.023 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004236/0.7108, allocations: 320.3 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.7108, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.362e-05/0.7109, allocations: 12 kB / 1.024 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.7109, allocations: 11.92 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.873e-05/0.7109, allocations: 45.56 kB / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.261e-05/0.711, allocations: 31.89 kB / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.711, allocations: 0 / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.058e-06/0.711, allocations: 4 kB / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.606e-06/0.7111, allocations: 0 / 1.024 GB, free: 15 MB / 0.7794 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.0003566/0.7114, allocations: 345.3 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.7115, allocations: 8.031 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.7115, allocations: 4.938 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.7116, allocations: 168.2 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.7116, allocations: 4.375 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-06/0.7117, allocations: 384 / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.7118, allocations: 57.61 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.7118, allocations: 7.938 kB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.7118, allocations: 0 / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.7118, allocations: 3.984 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.746e-05/0.7119, allocations: 23.98 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003316/0.7122, allocations: 276.8 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.713e-05/0.7123, allocations: 22.58 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.577e-05/0.7123, allocations: 8.844 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.122e-06/0.7123, allocations: 0 / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.7123, allocations: 38.5 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.7124, allocations: 0 / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001376/0.7125, allocations: 37.67 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.7125, allocations: 51.41 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.7127, allocations: 143.7 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.7127, allocations: 25.7 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.7128, allocations: 100 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.13e-06/0.7128, allocations: 0 / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/0.7128, allocations: 13.72 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.7129, allocations: 326.9 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.449e-05/0.713, allocations: 12 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.736e-05/0.713, allocations: 4 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.717e-05/0.713, allocations: 24.78 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.713, allocations: 0 / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000104/0.7131, allocations: 65.59 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.7132, allocations: 4 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.7132, allocations: 0 / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.7132, allocations: 0 / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.104e-05/0.7132, allocations: 8 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.7132, allocations: 0 / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.757e-05/0.7132, allocations: 11.78 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.7133, allocations: 11.98 kB / 1.026 GB, free: 13.01 MB / 0.7794 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.883e-05/0.7134, allocations: 109.8 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.7134, allocations: 4 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.319e-05/0.7134, allocations: 7.531 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.7134, allocations: 4 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.7134, allocations: 3.938 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.7134, allocations: 7.938 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.7137, allocations: 358.8 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7137, allocations: 0 / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-06/0.7137, allocations: 192 / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.7137, allocations: 0 / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.7137, allocations: 11.88 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.7138, allocations: 0 / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.7138, allocations: 0 / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.849e-05/0.7138, allocations: 73 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.7139, allocations: 89 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.7139, allocations: 3.938 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.231e-05/0.7139, allocations: 0 / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/0.714, allocations: 4 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.714, allocations: 0 / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.04e-05/0.714, allocations: 99.27 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.714, allocations: 0 / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002002/0.7142, allocations: 24.02 kB / 1.026 GB, free: 12.12 MB / 0.7794 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.000272/0.7145, allocations: 117.5 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.283e-05/0.7146, allocations: 27.92 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.7146, allocations: 0 / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.707e-06/0.7146, allocations: 4 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.7148, allocations: 8.969 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002126/0.715, allocations: 119.6 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.7153, allocations: 0.6809 MB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.001e-05/0.7153, allocations: 8.125 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.682e-05/0.7153, allocations: 7.438 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of SimCode: time 5.61e-07/0.7153, allocations: 8.062 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of Templates: time 0.002697/0.718, allocations: 0.5092 MB / 1.028 GB, free: 10.58 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile (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 & ./Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches