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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001349/0.001349, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001654/0.001654, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.358/1.358, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.811/2.811, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 67.17 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.329, allocations: 157.4 MB / 1.052 GB, free: 8.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001732/0.3308, allocations: 0.5948 MB / 1.053 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004466/0.3313, allocations: 156.1 kB / 1.053 GB, free: 8.133 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.767e-05/0.3313, allocations: 0 / 1.053 GB, free: 8.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.796e-05/0.3313, allocations: 3.938 kB / 1.053 GB, free: 8.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001804/0.3315, allocations: 4 kB / 1.053 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.776e-05/0.3316, allocations: 27.91 kB / 1.053 GB, free: 8.098 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.287e-05/0.3317, allocations: 16 kB / 1.053 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.984e-05/0.3317, allocations: 7.984 kB / 1.053 GB, free: 8.074 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.749e-05/0.3318, allocations: 15.88 kB / 1.053 GB, free: 8.059 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000389/0.3321, allocations: 307 kB / 1.053 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.3322, allocations: 0 / 1.053 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.964e-05/0.3322, allocations: 12 kB / 1.053 GB, free: 7.773 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.928e-05/0.3323, allocations: 15.97 kB / 1.053 GB, free: 7.758 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.3323, allocations: 11.88 kB / 1.053 GB, free: 7.746 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.886e-05/0.3324, allocations: 39.89 kB / 1.053 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3324, allocations: 0 / 1.053 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3324, allocations: 3.938 kB / 1.053 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.3324, allocations: 0 / 1.053 GB, free: 7.703 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.3328, allocations: 351.7 kB / 1.054 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.3329, allocations: 8.031 kB / 1.054 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.3329, allocations: 8.844 kB / 1.054 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.333, allocations: 176.2 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.333, allocations: 384 / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.3331, allocations: 8.375 kB / 1.054 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.3332, allocations: 49.81 kB / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.3332, allocations: 3.938 kB / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.3332, allocations: 0 / 1.054 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.3332, allocations: 8 kB / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.737e-05/0.3333, allocations: 15.98 kB / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/0.3337, allocations: 272.9 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.851e-05/0.3337, allocations: 18.58 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.934e-05/0.3338, allocations: 12.92 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.344e-06/0.3338, allocations: 0 / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.3338, allocations: 34.5 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 7.32e-07/0.3338, allocations: 0 / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001655/0.334, allocations: 37.61 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.334, allocations: 51.41 kB / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.3342, allocations: 141.7 kB / 1.054 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.3342, allocations: 29.83 kB / 1.054 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.3342, allocations: 92.05 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.172e-06/0.3342, allocations: 7.938 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.3343, allocations: 25.7 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.3344, allocations: 314.8 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.011e-05/0.3344, allocations: 15.98 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.314e-05/0.3345, allocations: 8 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.855e-05/0.3345, allocations: 24.78 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3345, allocations: 4 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001241/0.3347, allocations: 65.59 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.3347, allocations: 4 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.3347, allocations: 0 / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3347, allocations: 0 / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.29e-05/0.3347, allocations: 7.938 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3347, allocations: 0 / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.435e-05/0.3348, allocations: 0 / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.3348, allocations: 11.88 kB / 1.055 GB, free: 5.707 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.205e-05/0.3349, allocations: 113.8 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-05/0.3349, allocations: 11.89 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.221e-05/0.3349, allocations: 11.52 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3349, allocations: 0 / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3349, allocations: 4 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.335, allocations: 0 / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.3352, allocations: 362.9 kB / 1.055 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3353, allocations: 4 kB / 1.055 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.098e-06/0.3353, allocations: 0 / 1.055 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3353, allocations: 4.031 kB / 1.055 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.3353, allocations: 0 / 1.055 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3353, allocations: 3.938 kB / 1.055 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3353, allocations: 0 / 1.055 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.576e-05/0.3354, allocations: 68.97 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.561e-05/0.3354, allocations: 81.11 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.3354, allocations: 0 / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.663e-05/0.3355, allocations: 7.969 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.3355, allocations: 0 / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.3355, allocations: 0 / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.255e-05/0.3356, allocations: 105.9 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3356, allocations: 0 / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002087/0.3358, allocations: 11.98 kB / 1.056 GB, free: 4.828 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.0002733/0.3361, allocations: 130.6 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.888e-05/0.3362, allocations: 23.92 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3362, allocations: 0 / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.418e-06/0.3362, allocations: 4 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.3363, allocations: 0 / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002286/0.3366, allocations: 138.6 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.3368, allocations: 0.6809 MB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.1e-05/0.3369, allocations: 8.125 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.633e-05/0.3369, allocations: 7.438 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.3369, allocations: 0 / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of Templates: time 0.002526/0.3394, allocations: 0.5296 MB / 1.057 GB, free: 3.262 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches