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.001394/0.001394, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001633/0.001633, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.406/1.406, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.545/2.545, allocations: 437 MB / 0.7099 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 59.91 kB / 0.8685 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7009/0.7021, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.002503/0.7047, allocations: 0.5965 MB / 1.017 GB, free: 2.199 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005538/0.7053, allocations: 148 kB / 1.017 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.193e-05/0.7053, allocations: 3.938 kB / 1.017 GB, free: 2.047 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.662e-05/0.7054, allocations: 0 / 1.017 GB, free: 2.047 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.7056, allocations: 11.94 kB / 1.017 GB, free: 2.035 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 7.871e-05/0.7057, allocations: 19.97 kB / 1.017 GB, free: 2.016 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.511e-05/0.7058, allocations: 23.92 kB / 1.017 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.168e-05/0.7058, allocations: 4 kB / 1.017 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.141e-05/0.7059, allocations: 15.92 kB / 1.017 GB, free: 1.973 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004188/0.7063, allocations: 315.7 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.7063, allocations: 4 kB / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.394e-05/0.7064, allocations: 12 kB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.7064, allocations: 15.91 kB / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.302e-05/0.7065, allocations: 15.88 kB / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.7066, allocations: 35.89 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.7067, allocations: 0 / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7067, allocations: 0 / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.7067, allocations: 0 / 1.018 GB, free: 1.609 MB / 0.7637 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.0004511/0.7071, allocations: 349.3 kB / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.7072, allocations: 16.03 kB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/0.7072, allocations: 8.828 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.7074, allocations: 172.2 kB / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.7074, allocations: 4.312 kB / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.7074, allocations: 4.375 kB / 1.018 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.7076, allocations: 61.72 kB / 1.018 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.7076, allocations: 4 kB / 1.018 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.7076, allocations: 4 kB / 1.018 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.7076, allocations: 0 / 1.018 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.186e-05/0.7077, allocations: 12 kB / 1.018 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.7081, allocations: 284.9 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.593e-05/0.7081, allocations: 18.52 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.921e-05/0.7081, allocations: 8.922 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-06/0.7082, allocations: 0 / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.7082, allocations: 30.56 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.7082, allocations: 0 / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001669/0.7084, allocations: 45.59 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/0.7084, allocations: 51.41 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.7086, allocations: 153.6 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.7086, allocations: 25.7 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 6.348e-05/0.7087, allocations: 92.05 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 6.462e-06/0.7087, allocations: 0 / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.501e-05/0.7087, allocations: 25.7 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.7089, allocations: 322.9 kB / 1.019 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.698e-05/0.7089, allocations: 12 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.233e-05/0.7089, allocations: 8 kB / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.165e-05/0.709, allocations: 20.84 kB / 1.019 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.709, allocations: 4 kB / 1.019 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001268/0.7091, allocations: 61.59 kB / 1.019 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.7092, allocations: 4 kB / 1.019 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.7092, allocations: 0 / 1.019 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.7092, allocations: 3.938 kB / 1.019 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.689e-05/0.7092, allocations: 4 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.7092, allocations: 4 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.262e-05/0.7093, allocations: 3.938 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.7093, allocations: 11.92 kB / 1.02 GB, free: 15.59 MB / 0.7794 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.844e-05/0.7094, allocations: 109.8 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.7094, allocations: 7.906 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.444e-05/0.7094, allocations: 11.47 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.7094, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.7095, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.7095, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000315/0.7098, allocations: 366.8 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.7098, allocations: 4 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.336e-06/0.7098, allocations: 4 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.7098, allocations: 0 / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.7098, allocations: 0 / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.7098, allocations: 7.875 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.7098, allocations: 4 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.959e-05/0.7099, allocations: 65.06 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.96e-05/0.71, allocations: 81.11 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.71, allocations: 0 / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.542e-05/0.71, allocations: 3.938 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.983e-05/0.71, allocations: 0 / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.7101, allocations: 4 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.678e-05/0.7101, allocations: 104.5 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7101, allocations: 3.938 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002287/0.7104, allocations: 16 kB / 1.02 GB, free: 14.71 MB / 0.7794 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.0003084/0.7107, allocations: 122.9 kB / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.7108, allocations: 23.98 kB / 1.02 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.7108, allocations: 0 / 1.02 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.244e-06/0.7108, allocations: 0 / 1.02 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.711, allocations: 10.95 kB / 1.02 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002538/0.7113, allocations: 122.7 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.7116, allocations: 0.6848 MB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.314e-05/0.7116, allocations: 16.05 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.92e-05/0.7116, allocations: 11.44 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of SimCode: time 5.61e-07/0.7116, allocations: 0 / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of Templates: time 0.00277/0.7144, allocations: 0.5201 MB / 1.022 GB, free: 13.16 MB / 0.7794 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