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.001599/0.001599, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001933/0.001933, allocations: 193.8 kB / 16.14 MB, free: 6.676 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.533/1.533, allocations: 222.9 MB / 239.8 MB, free: 4.641 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.73/2.73, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 63.88 kB / 0.8685 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.642/0.644, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001722/0.6457, allocations: 0.5965 MB / 1.017 GB, free: 2.18 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004072/0.6462, allocations: 144.1 kB / 1.017 GB, free: 2.035 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.492e-05/0.6462, allocations: 4 kB / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.4e-05/0.6462, allocations: 0 / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.6464, allocations: 11.92 kB / 1.017 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.441e-05/0.6464, allocations: 16 kB / 1.017 GB, free: 2.004 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.671e-05/0.6465, allocations: 31.84 kB / 1.017 GB, free: 1.973 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.83e-05/0.6465, allocations: 0 / 1.017 GB, free: 1.973 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.374e-05/0.6466, allocations: 15.94 kB / 1.017 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003667/0.6469, allocations: 314.8 kB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.6469, allocations: 4 kB / 1.018 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.445e-05/0.647, allocations: 15.98 kB / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.647, allocations: 11.94 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.745e-05/0.6471, allocations: 15.81 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.233e-05/0.6472, allocations: 35.89 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.6472, allocations: 0 / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.12e-07/0.6472, allocations: 0 / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.6472, allocations: 0 / 1.018 GB, free: 1.59 MB / 0.7637 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.0003552/0.6475, allocations: 357.3 kB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.6476, allocations: 12.03 kB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.908e-05/0.6476, allocations: 8.844 kB / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.6478, allocations: 176.2 kB / 1.018 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-06/0.6478, allocations: 384 / 1.018 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.6478, allocations: 4.375 kB / 1.018 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.6479, allocations: 53.8 kB / 1.018 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.6479, allocations: 0 / 1.018 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.6479, allocations: 0 / 1.018 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.6479, allocations: 4 kB / 1.018 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.687e-05/0.648, allocations: 15.98 kB / 1.018 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.6483, allocations: 276.9 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.766e-05/0.6484, allocations: 22.52 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.83e-05/0.6484, allocations: 4.859 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-06/0.6484, allocations: 4.062 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.6485, allocations: 30.56 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.6485, allocations: 0 / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001416/0.6486, allocations: 49.53 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.6486, allocations: 51.41 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.6488, allocations: 147.2 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.6488, allocations: 25.7 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 5.273e-05/0.6489, allocations: 92.05 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 9.838e-06/0.6489, allocations: 7.984 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.6489, allocations: 21.72 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.6491, allocations: 318.9 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.003e-05/0.6491, allocations: 16 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.64e-05/0.6491, allocations: 15.98 kB / 1.019 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.767e-05/0.6492, allocations: 16.86 kB / 1.019 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6492, allocations: 0 / 1.019 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001176/0.6493, allocations: 69.53 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.6493, allocations: 4.781 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.6493, allocations: 0 / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.6493, allocations: 0 / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.107e-05/0.6494, allocations: 11.92 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.6494, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.605e-05/0.6494, allocations: 11.92 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.6494, allocations: 7.938 kB / 1.02 GB, free: 15.57 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.336e-05/0.6495, allocations: 105.8 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.6495, allocations: 11.91 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.689e-05/0.6496, allocations: 3.531 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.6496, allocations: 0 / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.6496, allocations: 0 / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.6496, allocations: 7.984 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003032/0.6499, allocations: 358.7 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6499, allocations: 4 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.637e-06/0.6499, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.6499, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.6499, allocations: 3.938 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.6499, allocations: 8.109 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.6499, allocations: 0 / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.218e-05/0.65, allocations: 73.08 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/0.6501, allocations: 77.11 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.6501, allocations: 4 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.62e-05/0.6501, allocations: 3.938 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-05/0.6502, allocations: 7.922 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.6502, allocations: 0 / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.259e-05/0.6502, allocations: 104.2 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6502, allocations: 0 / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002005/0.6504, allocations: 8 kB / 1.02 GB, free: 14.7 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.0002566/0.6507, allocations: 130.7 kB / 1.02 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.539e-05/0.6508, allocations: 16 kB / 1.02 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.6508, allocations: 0 / 1.02 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.478e-06/0.6508, allocations: 4 kB / 1.02 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.651, allocations: 4 kB / 1.02 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002209/0.6512, allocations: 130.7 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.6515, allocations: 0.6925 MB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.07e-05/0.6515, allocations: 8.125 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.814e-05/0.6515, allocations: 7.438 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.6516, allocations: 0 / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.002754/0.6543, allocations: 0.5313 MB / 1.022 GB, free: 13.13 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=400 -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