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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmpAll",fileNamePrefix="Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmpAll",fileNamePrefix="Buildings_latest_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.001615/0.001615, allocations: 100.1 kB / 15.88 MB, free: 12 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.00186/0.00186, allocations: 199.5 kB / 16.79 MB, free: 6.809 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.475/1.475, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.621/2.621, allocations: 461.8 MB / 0.7348 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 68.06 kB / 0.899 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3269, allocations: 157.4 MB / 1.053 GB, free: 8.379 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001948/0.3289, allocations: 0.6104 MB / 1.053 GB, free: 7.766 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004786/0.3294, allocations: 152.1 kB / 1.053 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.829e-05/0.3294, allocations: 0 / 1.053 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.066e-05/0.3294, allocations: 0 / 1.053 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.3297, allocations: 7.938 kB / 1.053 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.387e-05/0.3297, allocations: 23.92 kB / 1.053 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.535e-05/0.3298, allocations: 31.91 kB / 1.054 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.957e-05/0.3299, allocations: 0 / 1.054 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.585e-05/0.3299, allocations: 11.94 kB / 1.054 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003847/0.3303, allocations: 319.6 kB / 1.054 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.3303, allocations: 0 / 1.054 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.334e-05/0.3304, allocations: 12 kB / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.658e-05/0.3304, allocations: 15.86 kB / 1.054 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.938e-05/0.3304, allocations: 15.88 kB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.823e-05/0.3305, allocations: 19.97 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3306, allocations: 4 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.22e-07/0.3306, allocations: 4 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.3306, allocations: 0 / 1.054 GB, free: 7.184 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.0003742/0.3309, allocations: 351.7 kB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.331, allocations: 11.98 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.971e-05/0.331, allocations: 8.844 kB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.3312, allocations: 172.2 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.3312, allocations: 384 / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.3312, allocations: 4.375 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.3313, allocations: 57.8 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.3314, allocations: 4 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.3314, allocations: 0 / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.3314, allocations: 0 / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.333e-05/0.3315, allocations: 23.92 kB / 1.055 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.3318, allocations: 272.9 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.425e-05/0.3319, allocations: 22.56 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.675e-05/0.3319, allocations: 4.859 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.3319, allocations: 4.062 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.3319, allocations: 34.56 kB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.3319, allocations: 0 / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001547/0.3321, allocations: 41.55 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.3321, allocations: 51.41 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.3323, allocations: 140.8 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.3323, allocations: 33.7 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.3324, allocations: 96.16 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.556e-06/0.3324, allocations: 7.938 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.3324, allocations: 25.7 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.3325, allocations: 318.8 kB / 1.056 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.624e-05/0.3326, allocations: 7.984 kB / 1.056 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.204e-05/0.3326, allocations: 12 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.611e-05/0.3326, allocations: 16.86 kB / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3326, allocations: 0 / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001136/0.3328, allocations: 65.53 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3328, allocations: 15.98 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3328, allocations: 0 / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.3328, allocations: 3.938 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.17e-05/0.3328, allocations: 0 / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.3329, allocations: 4 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.622e-05/0.3329, allocations: 0 / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.3329, allocations: 3.938 kB / 1.056 GB, free: 5.184 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 7.904e-05/0.333, allocations: 113.8 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.333, allocations: 7.906 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.163e-05/0.333, allocations: 11.52 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.3331, allocations: 4.172 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3331, allocations: 4 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3331, allocations: 0 / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.3333, allocations: 362.6 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.3334, allocations: 4 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-06/0.3334, allocations: 0 / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3334, allocations: 0 / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.3334, allocations: 0 / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.144e-05/0.3334, allocations: 7.969 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3334, allocations: 0 / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.848e-05/0.3335, allocations: 64.98 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.321e-05/0.3335, allocations: 81.09 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.3335, allocations: 4 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.419e-05/0.3335, allocations: 3.938 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.3336, allocations: 0 / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.3336, allocations: 7.969 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.887e-05/0.3337, allocations: 103.3 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3337, allocations: 0 / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002117/0.3339, allocations: 12 kB / 1.056 GB, free: 4.301 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.0002601/0.3341, allocations: 119.8 kB / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.775e-05/0.3342, allocations: 23.98 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3343, allocations: 3.938 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-05/0.3343, allocations: 7.938 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.3344, allocations: 5.141 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002368/0.3347, allocations: 154.7 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.3349, allocations: 0.681 MB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.328e-05/0.3349, allocations: 11.44 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of SimCode: time 3e-07/0.3349, allocations: 0 / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of Templates: time 0.002484/0.3374, allocations: 0.9441 MB / 1.058 GB, free: 2.297 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile (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 & ./Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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