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.0007843/0.0007844, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.00467/0.00467, allocations: 172.6 kB / 16.27 MB, free: 6.648 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.34/1.34, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.702/2.702, allocations: 462.7 MB / 0.7364 GB, free: 252 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.0003845, allocations: 8.75 kB / 0.9028 GB, free: 36.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3418, allocations: 159.6 MB / 1.059 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.0007254/0.3426, allocations: 262.1 kB / 1.059 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004343/0.343, allocations: 156 kB / 1.059 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.521e-05/0.343, allocations: 0 / 1.059 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.3431, allocations: 0 / 1.059 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.3432, allocations: 11.92 kB / 1.059 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.741e-05/0.3433, allocations: 31.86 kB / 1.059 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.205e-05/0.3434, allocations: 19.98 kB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.996e-05/0.3434, allocations: 7.969 kB / 1.059 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.684e-05/0.3435, allocations: 11.94 kB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003563/0.3438, allocations: 297.8 kB / 1.059 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.3438, allocations: 4 kB / 1.059 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.459e-05/0.3439, allocations: 19.97 kB / 1.059 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.3439, allocations: 7.938 kB / 1.059 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.626e-05/0.344, allocations: 37.58 kB / 1.059 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.3441, allocations: 35.89 kB / 1.06 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.3441, allocations: 7.938 kB / 1.06 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3441, allocations: 0 / 1.06 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.3441, allocations: 4 kB / 1.06 GB, free: 4.59 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.0003023/0.3444, allocations: 339.7 kB / 1.06 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.3445, allocations: 8.031 kB / 1.06 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.3445, allocations: 8.844 kB / 1.06 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.3446, allocations: 176.2 kB / 1.06 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.3446, allocations: 4.375 kB / 1.06 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.3447, allocations: 4.375 kB / 1.06 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.3448, allocations: 53.81 kB / 1.06 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.3448, allocations: 0 / 1.06 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.3448, allocations: 3.938 kB / 1.06 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3448, allocations: 0 / 1.06 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.695e-05/0.3449, allocations: 23.92 kB / 1.06 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.3453, allocations: 276.8 kB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.649e-05/0.3453, allocations: 18.58 kB / 1.06 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.3453, allocations: 8.859 kB / 1.06 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.31e-06/0.3453, allocations: 0 / 1.06 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.3454, allocations: 34.56 kB / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 6.52e-07/0.3454, allocations: 0 / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001282/0.3455, allocations: 41.61 kB / 1.06 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.3456, allocations: 55.41 kB / 1.061 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.3457, allocations: 137.8 kB / 1.061 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.3457, allocations: 25.7 kB / 1.061 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/0.3458, allocations: 96.17 kB / 1.061 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.616e-06/0.3458, allocations: 7.844 kB / 1.061 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.3458, allocations: 17.72 kB / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3459, allocations: 318.8 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.447e-05/0.346, allocations: 12 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.225e-05/0.346, allocations: 11.98 kB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.334e-05/0.346, allocations: 20.8 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.346, allocations: 0 / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.665e-05/0.3461, allocations: 57.69 kB / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.3462, allocations: 8 kB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3462, allocations: 0 / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/0.3462, allocations: 0 / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.39e-05/0.3462, allocations: 11.98 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3462, allocations: 0 / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.536e-05/0.3462, allocations: 3.906 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.3463, allocations: 7.938 kB / 1.061 GB, free: 2.609 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.109e-05/0.3463, allocations: 105.8 kB / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.3464, allocations: 4 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.182e-05/0.3464, allocations: 11.53 kB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.3464, allocations: 3.938 kB / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3464, allocations: 4 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.3464, allocations: 0 / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.3467, allocations: 362.6 kB / 1.062 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.3467, allocations: 0 / 1.062 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.697e-06/0.3467, allocations: 3.938 kB / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3467, allocations: 0 / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-06/0.3467, allocations: 4.031 kB / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3467, allocations: 3.938 kB / 1.062 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3468, allocations: 3.984 kB / 1.062 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.554e-05/0.3468, allocations: 69.16 kB / 1.062 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.229e-05/0.3469, allocations: 89 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.3469, allocations: 8 kB / 1.062 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.409e-05/0.3469, allocations: 3.938 kB / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.925e-05/0.3469, allocations: 4.031 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-06/0.347, allocations: 4 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.22e-05/0.347, allocations: 102.1 kB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.51e-07/0.347, allocations: 0 / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001938/0.3472, allocations: 16 kB / 1.062 GB, free: 1.719 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.000239/0.3475, allocations: 122.1 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.129e-05/0.3476, allocations: 19.98 kB / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.3476, allocations: 0 / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.045e-06/0.3476, allocations: 7.938 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.3477, allocations: 4 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002469/0.348, allocations: 118.8 kB / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.3482, allocations: 0.6849 MB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.839e-05/0.3483, allocations: 12.06 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.738e-05/0.3483, allocations: 11.42 kB / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3483, allocations: 0 / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of Templates: time 0.002583/0.3509, allocations: 0.517 MB / 1.063 GB, free: 180 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