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.0008155/0.0008154, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.007105/0.007105, allocations: 172.6 kB / 16.26 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.385/1.385, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.721/2.721, allocations: 462.7 MB / 0.7364 GB, free: 296 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003282, allocations: 7.312 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3416, allocations: 159.6 MB / 1.059 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.0006358/0.3423, allocations: 262.1 kB / 1.059 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004089/0.3427, allocations: 148.1 kB / 1.059 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.651e-05/0.3428, allocations: 4 kB / 1.059 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.48e-05/0.3428, allocations: 0 / 1.059 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001545/0.3429, allocations: 7.938 kB / 1.059 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.804e-05/0.343, allocations: 23.92 kB / 1.059 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.587e-05/0.3431, allocations: 27.91 kB / 1.059 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.745e-05/0.3431, allocations: 0 / 1.059 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.453e-05/0.3432, allocations: 15.94 kB / 1.059 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003331/0.3435, allocations: 309.1 kB / 1.059 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.3435, allocations: 0 / 1.059 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.378e-05/0.3436, allocations: 15.98 kB / 1.059 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.3436, allocations: 11.94 kB / 1.059 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.3436, allocations: 41.58 kB / 1.059 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.386e-05/0.3437, allocations: 35.89 kB / 1.06 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3438, allocations: 3.938 kB / 1.06 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3438, allocations: 0 / 1.06 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.3438, allocations: 0 / 1.06 GB, free: 4.645 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.0003095/0.3441, allocations: 339.7 kB / 1.06 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.3441, allocations: 8.031 kB / 1.06 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.3442, allocations: 8.844 kB / 1.06 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.3443, allocations: 176.3 kB / 1.06 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.3443, allocations: 4.375 kB / 1.06 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.3443, allocations: 4.375 kB / 1.06 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.3444, allocations: 53.8 kB / 1.06 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3445, allocations: 3.984 kB / 1.06 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.3445, allocations: 0 / 1.06 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3445, allocations: 0 / 1.06 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.793e-05/0.3445, allocations: 23.88 kB / 1.06 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003367/0.3449, allocations: 276.8 kB / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.835e-05/0.3449, allocations: 22.58 kB / 1.06 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/0.345, allocations: 4.859 kB / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.111e-06/0.345, allocations: 0 / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.345, allocations: 34.62 kB / 1.06 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.345, allocations: 0 / 1.06 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001315/0.3451, allocations: 41.55 kB / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.3452, allocations: 63.33 kB / 1.061 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.3453, allocations: 136.6 kB / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.3453, allocations: 25.7 kB / 1.061 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.186e-05/0.3454, allocations: 92.05 kB / 1.061 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.303e-06/0.3454, allocations: 7.844 kB / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.3454, allocations: 17.72 kB / 1.061 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.3455, allocations: 322.8 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.216e-05/0.3456, allocations: 8 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.278e-05/0.3456, allocations: 19.98 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.454e-05/0.3456, allocations: 16.8 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3456, allocations: 8 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001217/0.3458, allocations: 57.69 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.3458, allocations: 4 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.3458, allocations: 0 / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.3458, allocations: 0 / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.083e-05/0.3458, allocations: 7.984 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3458, allocations: 0 / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.509e-05/0.3459, allocations: 3.906 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.3459, allocations: 7.938 kB / 1.061 GB, free: 2.66 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 6.814e-05/0.346, allocations: 117.8 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.346, allocations: 0 / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.039e-05/0.346, allocations: 7.531 kB / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.346, allocations: 7.922 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.346, allocations: 0 / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.346, allocations: 0 / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.3463, allocations: 354.7 kB / 1.062 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.3463, allocations: 0 / 1.062 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-06/0.3463, allocations: 3.938 kB / 1.062 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3463, allocations: 8.016 kB / 1.062 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-06/0.3463, allocations: 0 / 1.062 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3464, allocations: 3.938 kB / 1.062 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.3464, allocations: 4 kB / 1.062 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.058e-05/0.3464, allocations: 64.98 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.004e-05/0.3465, allocations: 89 kB / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.3465, allocations: 192 / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.844e-05/0.3465, allocations: 11.97 kB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.3465, allocations: 4 kB / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-06/0.3466, allocations: 0 / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.341e-05/0.3466, allocations: 107.2 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3466, allocations: 0 / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001995/0.3468, allocations: 8 kB / 1.062 GB, free: 1.777 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.0002225/0.3471, allocations: 132.6 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.226e-05/0.3472, allocations: 23.98 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.3472, allocations: 0 / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.466e-06/0.3472, allocations: 3.938 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.3473, allocations: 9.375 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002115/0.3475, allocations: 122.8 kB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.3478, allocations: 0.6809 MB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.045e-05/0.3478, allocations: 12.11 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.931e-05/0.3478, allocations: 11.44 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3478, allocations: 3.938 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of Templates: time 0.00246/0.3503, allocations: 0.509 MB / 1.063 GB, free: 228 kB / 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