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.001414/0.001414, allocations: 106.2 kB / 16.41 MB, free: 6.453 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.001441/0.001441, allocations: 192 kB / 17.34 MB, free: 5.715 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.09 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.371/2.371, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 71.89 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7182/0.72, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.00147/0.7215, allocations: 0.5336 MB / 1.168 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003944/0.722, allocations: 152.1 kB / 1.168 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.552e-05/0.722, allocations: 0 / 1.168 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.856e-05/0.722, allocations: 3.938 kB / 1.168 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.7222, allocations: 7.938 kB / 1.168 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 6.864e-05/0.7223, allocations: 27.91 kB / 1.168 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.833e-05/0.7224, allocations: 27.92 kB / 1.168 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.807e-05/0.7224, allocations: 7.938 kB / 1.168 GB, free: 3.086 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.433e-05/0.7224, allocations: 15.91 kB / 1.168 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003849/0.7228, allocations: 322.1 kB / 1.168 GB, free: 2.781 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.7228, allocations: 3.938 kB / 1.168 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 5.851e-05/0.7229, allocations: 16 kB / 1.168 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.7229, allocations: 7.922 kB / 1.168 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.296e-05/0.723, allocations: 15.92 kB / 1.168 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.7231, allocations: 36.34 kB / 1.168 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.7231, allocations: 4 kB / 1.168 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7231, allocations: 0 / 1.168 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.7231, allocations: 0 / 1.168 GB, free: 2.703 MB / 0.8887 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.0003878/0.7235, allocations: 351.3 kB / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.7235, allocations: 8.031 kB / 1.169 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.7236, allocations: 8.891 kB / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.7237, allocations: 168.3 kB / 1.169 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.7238, allocations: 8.359 kB / 1.169 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.7238, allocations: 4.375 kB / 1.169 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.7239, allocations: 53.81 kB / 1.169 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.7239, allocations: 0 / 1.169 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.7239, allocations: 0 / 1.169 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.7239, allocations: 3.938 kB / 1.169 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.936e-05/0.724, allocations: 19.98 kB / 1.169 GB, free: 2 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003766/0.7244, allocations: 276.8 kB / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.21e-05/0.7244, allocations: 22.56 kB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.675e-05/0.7244, allocations: 8.844 kB / 1.169 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.092e-06/0.7245, allocations: 4 kB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.7245, allocations: 30.56 kB / 1.169 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.7245, allocations: 3.938 kB / 1.169 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001367/0.7246, allocations: 37.77 kB / 1.169 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.7247, allocations: 51.41 kB / 1.169 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.7248, allocations: 143.3 kB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.7248, allocations: 25.7 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.7249, allocations: 108.1 kB / 1.17 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.619e-06/0.7249, allocations: 0 / 1.17 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/0.725, allocations: 29.66 kB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.7251, allocations: 322.8 kB / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.573e-05/0.7251, allocations: 11.98 kB / 1.17 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.311e-05/0.7252, allocations: 8 kB / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.833e-05/0.7252, allocations: 20.8 kB / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7252, allocations: 0 / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001179/0.7253, allocations: 65.88 kB / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.7254, allocations: 7.984 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.7254, allocations: 4 kB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.7254, allocations: 0 / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.921e-05/0.7254, allocations: 0 / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.7254, allocations: 0 / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.684e-05/0.7255, allocations: 7.953 kB / 1.17 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.7255, allocations: 3.938 kB / 1.17 GB, free: 0.6992 MB / 0.8887 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 8.294e-05/0.7256, allocations: 117.8 kB / 1.17 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.7256, allocations: 0 / 1.17 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.45e-05/0.7256, allocations: 15.52 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.7256, allocations: 0 / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.7256, allocations: 0 / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.7256, allocations: 0 / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000305/0.7259, allocations: 366.7 kB / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.726, allocations: 0 / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.456e-06/0.726, allocations: 0 / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.726, allocations: 0 / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.726, allocations: 4.031 kB / 1.171 GB, free: 136 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.726, allocations: 7.938 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.726, allocations: 0 / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.268e-05/0.7261, allocations: 63.53 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-05/0.7261, allocations: 85.05 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.7262, allocations: 0 / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.335e-05/0.7262, allocations: 7.875 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.7262, allocations: 4 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-06/0.7262, allocations: 7.969 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.69e-05/0.7263, allocations: 109.6 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.7263, allocations: 0 / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001861/0.7265, allocations: 8 kB / 1.171 GB, free: 15.81 MB / 0.9044 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.000268/0.7268, allocations: 116.6 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.7269, allocations: 35.92 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7269, allocations: 0 / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.603e-06/0.7269, allocations: 0 / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.7271, allocations: 11.94 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002412/0.7273, allocations: 115.9 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.7276, allocations: 0.6768 MB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.655e-05/0.7277, allocations: 8.25 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.7277, allocations: 15.5 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.7277, allocations: 0 / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of Templates: time 0.002768/0.7305, allocations: 0.5415 MB / 1.172 GB, free: 14.25 MB / 0.9044 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 -s cvode -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