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.001371/0.001371, allocations: 108.3 kB / 15.99 MB, free: 6.359 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.001495/0.001496, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.322/1.322, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.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.365/2.365, allocations: 437 MB / 0.7107 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 68.92 kB / 0.8694 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.328, allocations: 151.6 MB / 1.017 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.002047/0.3301, allocations: 0.5927 MB / 1.018 GB, free: 10.39 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004369/0.3305, allocations: 152 kB / 1.018 GB, free: 10.24 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.041e-05/0.3306, allocations: 4 kB / 1.018 GB, free: 10.23 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.061e-05/0.3306, allocations: 7.938 kB / 1.018 GB, free: 10.23 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002243/0.3309, allocations: 7.938 kB / 1.018 GB, free: 10.22 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 9.091e-05/0.331, allocations: 23.97 kB / 1.018 GB, free: 10.2 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.374e-05/0.331, allocations: 23.92 kB / 1.018 GB, free: 10.17 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.359e-05/0.3311, allocations: 4 kB / 1.018 GB, free: 10.17 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.077e-05/0.3311, allocations: 15.92 kB / 1.018 GB, free: 10.15 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003735/0.3315, allocations: 311.1 kB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.3315, allocations: 4 kB / 1.019 GB, free: 9.875 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.691e-05/0.3316, allocations: 15.98 kB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.3316, allocations: 11.92 kB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.3317, allocations: 15.88 kB / 1.019 GB, free: 9.832 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.478e-05/0.3318, allocations: 23.95 kB / 1.019 GB, free: 9.809 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3318, allocations: 0 / 1.019 GB, free: 9.809 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.644e-06/0.3318, allocations: 0 / 1.019 GB, free: 9.809 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.3318, allocations: 0 / 1.019 GB, free: 9.809 MB / 0.795 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.0003803/0.3322, allocations: 347.7 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.3322, allocations: 8.031 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.3323, allocations: 8.844 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.3324, allocations: 184.1 kB / 1.019 GB, free: 9.188 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.3324, allocations: 4.375 kB / 1.019 GB, free: 9.184 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.3325, allocations: 384 / 1.019 GB, free: 9.184 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.3326, allocations: 53.8 kB / 1.019 GB, free: 9.125 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3326, allocations: 0 / 1.019 GB, free: 9.125 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.3326, allocations: 4 kB / 1.019 GB, free: 9.121 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.3326, allocations: 0 / 1.019 GB, free: 9.121 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.88e-05/0.3327, allocations: 16 kB / 1.019 GB, free: 9.105 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.3331, allocations: 272.8 kB / 1.019 GB, free: 8.789 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 4.01e-05/0.3331, allocations: 22.58 kB / 1.019 GB, free: 8.758 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.902e-05/0.3332, allocations: 4.859 kB / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-06/0.3332, allocations: 0 / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.3332, allocations: 34.56 kB / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 2.495e-06/0.3332, allocations: 4.062 kB / 1.02 GB, free: 8.703 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001523/0.3334, allocations: 41.48 kB / 1.02 GB, free: 8.656 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.3334, allocations: 59.52 kB / 1.02 GB, free: 8.586 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.3335, allocations: 141.7 kB / 1.02 GB, free: 8.438 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.3336, allocations: 25.7 kB / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.522e-05/0.3336, allocations: 93.58 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.376e-06/0.3336, allocations: 7.938 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.3337, allocations: 25.7 kB / 1.02 GB, free: 8.273 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.3338, allocations: 322.8 kB / 1.02 GB, free: 7.949 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.091e-05/0.3338, allocations: 8 kB / 1.02 GB, free: 7.941 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.299e-05/0.3339, allocations: 16 kB / 1.02 GB, free: 7.926 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.083e-05/0.3339, allocations: 20.97 kB / 1.02 GB, free: 7.902 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.3339, allocations: 4 kB / 1.02 GB, free: 7.898 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001129/0.334, allocations: 65.52 kB / 1.02 GB, free: 7.828 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3341, allocations: 4 kB / 1.02 GB, free: 7.824 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3341, allocations: 4 kB / 1.02 GB, free: 7.82 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3341, allocations: 0 / 1.02 GB, free: 7.82 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.418e-05/0.3341, allocations: 0 / 1.02 GB, free: 7.82 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3341, allocations: 0 / 1.02 GB, free: 7.82 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.98e-05/0.3342, allocations: 8 kB / 1.02 GB, free: 7.812 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.3342, allocations: 11.92 kB / 1.02 GB, free: 7.801 MB / 0.795 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.836e-05/0.3343, allocations: 109.8 kB / 1.02 GB, free: 7.684 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.3343, allocations: 3.906 kB / 1.02 GB, free: 7.68 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.387e-05/0.3343, allocations: 11.53 kB / 1.02 GB, free: 7.668 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3343, allocations: 0 / 1.02 GB, free: 7.668 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3343, allocations: 0 / 1.02 GB, free: 7.668 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3343, allocations: 0 / 1.02 GB, free: 7.668 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.3346, allocations: 366.6 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3346, allocations: 7.969 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.49e-06/0.3346, allocations: 0 / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3347, allocations: 4 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.3347, allocations: 0 / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3347, allocations: 3.938 kB / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3347, allocations: 0 / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.942e-05/0.3347, allocations: 65.03 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/0.3348, allocations: 85.08 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.3348, allocations: 0 / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.513e-05/0.3348, allocations: 7.875 kB / 1.021 GB, free: 7.043 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.3349, allocations: 4 kB / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.3349, allocations: 0 / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.843e-05/0.3349, allocations: 109.5 kB / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.335, allocations: 0 / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002034/0.3352, allocations: 12 kB / 1.021 GB, free: 6.922 MB / 0.795 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.0002699/0.3354, allocations: 120.8 kB / 1.021 GB, free: 6.801 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 9.6e-05/0.3355, allocations: 27.98 kB / 1.021 GB, free: 6.773 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3356, allocations: 0 / 1.021 GB, free: 6.773 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.307e-06/0.3356, allocations: 0 / 1.021 GB, free: 6.773 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.3357, allocations: 14.12 kB / 1.021 GB, free: 6.762 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002389/0.336, allocations: 154.7 kB / 1.021 GB, free: 6.578 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.3362, allocations: 0.6807 MB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.3362, allocations: 15.42 kB / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of SimCode: time 3.11e-07/0.3362, allocations: 0 / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of Templates: time 0.002403/0.3386, allocations: 0.9578 MB / 1.023 GB, free: 4.902 MB / 0.795 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches