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.006644/0.006644, allocations: 101.5 kB / 15.73 MB, free: 6.449 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.001495, allocations: 196.2 kB / 16.68 MB, free: 6.352 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.687/2.687, allocations: 437 MB / 0.7105 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.91 kB / 1.018 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3298, allocations: 151.6 MB / 1.167 GB, free: 6.844 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001637/0.3314, allocations: 0.5321 MB / 1.167 GB, free: 6.309 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004224/0.3319, allocations: 148.4 kB / 1.167 GB, free: 6.16 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.886e-05/0.3319, allocations: 4 kB / 1.167 GB, free: 6.156 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.803e-05/0.3319, allocations: 7.875 kB / 1.167 GB, free: 6.148 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.3322, allocations: 11.92 kB / 1.167 GB, free: 6.137 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 6.897e-05/0.3322, allocations: 23.92 kB / 1.167 GB, free: 6.113 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.516e-05/0.3323, allocations: 23.97 kB / 1.167 GB, free: 6.09 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.173e-05/0.3324, allocations: 11.88 kB / 1.167 GB, free: 6.078 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.14e-05/0.3324, allocations: 8 kB / 1.167 GB, free: 6.07 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000336/0.3327, allocations: 319.8 kB / 1.168 GB, free: 5.781 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.3327, allocations: 0 / 1.168 GB, free: 5.781 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.009e-05/0.3328, allocations: 20 kB / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.3328, allocations: 11.98 kB / 1.168 GB, free: 5.75 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.005e-05/0.3329, allocations: 15.86 kB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.333, allocations: 43.75 kB / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.333, allocations: 0 / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.654e-06/0.333, allocations: 0 / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.333, allocations: 0 / 1.168 GB, free: 5.691 MB / 0.92 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.000326/0.3333, allocations: 351.2 kB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.3334, allocations: 12.03 kB / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.3334, allocations: 4.891 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.3335, allocations: 176.3 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.3336, allocations: 4.375 kB / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.3336, allocations: 4.359 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.3337, allocations: 61.73 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.3337, allocations: 3.938 kB / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.3337, allocations: 0 / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3337, allocations: 0 / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.511e-05/0.3338, allocations: 12 kB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/0.3341, allocations: 280.8 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.67e-05/0.3342, allocations: 22.58 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.645e-05/0.3342, allocations: 8.859 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.262e-06/0.3342, allocations: 0 / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.3343, allocations: 34.5 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.3343, allocations: 0 / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001332/0.3344, allocations: 33.77 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.3344, allocations: 59.52 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.3346, allocations: 139 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.3346, allocations: 25.7 kB / 1.169 GB, free: 4.289 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.3346, allocations: 96.09 kB / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.648e-06/0.3346, allocations: 0 / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.3347, allocations: 29.66 kB / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.3348, allocations: 322.8 kB / 1.169 GB, free: 3.832 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.387e-05/0.3348, allocations: 11.94 kB / 1.169 GB, free: 3.82 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.274e-05/0.3348, allocations: 20.06 kB / 1.169 GB, free: 3.801 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.594e-05/0.3349, allocations: 24.84 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3349, allocations: 0 / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.403e-05/0.335, allocations: 57.69 kB / 1.169 GB, free: 3.711 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.335, allocations: 4 kB / 1.169 GB, free: 3.707 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-06/0.335, allocations: 0 / 1.169 GB, free: 3.707 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.195e-06/0.335, allocations: 4 kB / 1.169 GB, free: 3.703 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.672e-05/0.335, allocations: 0 / 1.169 GB, free: 3.703 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.335, allocations: 0 / 1.169 GB, free: 3.703 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.854e-05/0.3351, allocations: 11.89 kB / 1.169 GB, free: 3.691 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.3351, allocations: 7.938 kB / 1.169 GB, free: 3.684 MB / 0.92 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.078e-05/0.3352, allocations: 117.8 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.3352, allocations: 0 / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.292e-05/0.3352, allocations: 11.53 kB / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.3352, allocations: 0 / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3352, allocations: 0 / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3352, allocations: 0 / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.3355, allocations: 362.7 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3355, allocations: 4.031 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.697e-06/0.3355, allocations: 0 / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.3355, allocations: 0 / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.3355, allocations: 0 / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.3355, allocations: 7.938 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3356, allocations: 7.875 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.857e-05/0.3356, allocations: 61.12 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.076e-05/0.3357, allocations: 81.09 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.3357, allocations: 8.062 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.387e-05/0.3357, allocations: 3.938 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.161e-05/0.3357, allocations: 4 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-06/0.3357, allocations: 0 / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.965e-05/0.3358, allocations: 105.5 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3358, allocations: 4 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001871/0.336, allocations: 8 kB / 1.17 GB, free: 2.805 MB / 0.92 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.00026/0.3362, allocations: 139.4 kB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.622e-05/0.3363, allocations: 27.92 kB / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3364, allocations: 0 / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.653e-06/0.3364, allocations: 0 / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.3365, allocations: 4 kB / 1.17 GB, free: 2.641 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002031/0.3367, allocations: 112.9 kB / 1.17 GB, free: 2.504 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.3369, allocations: 0.6807 MB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.042e-05/0.337, allocations: 12.36 kB / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.809e-05/0.337, allocations: 11.44 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of SimCode: time 2.31e-07/0.337, allocations: 0 / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of Templates: time 0.002474/0.3395, allocations: 0.5311 MB / 1.172 GB, free: 1.242 MB / 0.92 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