Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmpAll",fileNamePrefix="Buildings_9_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.001032/0.001032, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001276/0.001276, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.501/2.501, allocations: 390.9 MB / 0.666 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003464, allocations: 11.98 kB / 0.8153 GB, free: 13.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6866/0.687, allocations: 142.4 MB / 0.9544 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.000815/0.6879, allocations: 253.5 kB / 0.9547 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004365/0.6883, allocations: 146.3 kB / 0.9548 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.274e-05/0.6883, allocations: 5.219 kB / 0.9548 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.484e-05/0.6884, allocations: 3.938 kB / 0.9548 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.6886, allocations: 2.188 kB / 0.9548 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.711e-05/0.6887, allocations: 23.08 kB / 0.9548 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.721e-05/0.6888, allocations: 25.53 kB / 0.9549 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.385e-05/0.6888, allocations: 6.625 kB / 0.9549 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.334e-05/0.6889, allocations: 13.03 kB / 0.9549 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004318/0.6893, allocations: 308 kB / 0.9552 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.6893, allocations: 0.875 kB / 0.9552 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.577e-05/0.6894, allocations: 17.12 kB / 0.9552 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.6894, allocations: 4.828 kB / 0.9552 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.634e-05/0.6895, allocations: 36.05 kB / 0.9552 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.082e-05/0.6895, allocations: 20.5 kB / 0.9552 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.6896, allocations: 0 / 0.9552 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.605e-06/0.6896, allocations: 0 / 0.9552 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.6896, allocations: 0 / 0.9552 GB, free: 7.188 MB / 0.7169 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.0003048/0.6899, allocations: 346.2 kB / 0.9556 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.6899, allocations: 9.688 kB / 0.9556 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.69, allocations: 6.734 kB / 0.9556 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.6901, allocations: 173.8 kB / 0.9558 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.6902, allocations: 1.312 kB / 0.9558 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.6902, allocations: 5.469 kB / 0.9558 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.6903, allocations: 47.16 kB / 0.9558 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.6903, allocations: 5.109 kB / 0.9558 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.6904, allocations: 0 / 0.9558 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.6904, allocations: 1.031 kB / 0.9558 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.153e-05/0.6904, allocations: 17.33 kB / 0.9558 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.6908, allocations: 279.3 kB / 0.9561 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.929e-05/0.6908, allocations: 20.92 kB / 0.9561 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.94e-05/0.6909, allocations: 6.109 kB / 0.9561 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.6909, allocations: 0 / 0.9561 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.6909, allocations: 39.7 kB / 0.9562 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.6909, allocations: 0 / 0.9562 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001541/0.6911, allocations: 41.11 kB / 0.9562 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.6911, allocations: 55.53 kB / 0.9563 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.6912, allocations: 142.9 kB / 0.9564 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.835e-06/0.6912, allocations: 25.7 kB / 0.9564 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.212e-05/0.6913, allocations: 100.2 kB / 0.9565 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.649e-06/0.6913, allocations: 0 / 0.9565 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.6913, allocations: 0 / 0.9565 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.717e-05/0.6914, allocations: 321.5 kB / 0.9568 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.296e-05/0.6914, allocations: 9.875 kB / 0.9568 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.94e-05/0.6914, allocations: 13.53 kB / 0.9568 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.604e-05/0.6914, allocations: 13.08 kB / 0.9568 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.6915, allocations: 0 / 0.9568 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001026/0.6916, allocations: 63.03 kB / 0.9569 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.6916, allocations: 8.984 kB / 0.9569 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.6916, allocations: 0 / 0.9569 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.6916, allocations: 1.094 kB / 0.9569 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.245e-05/0.6916, allocations: 1.938 kB / 0.9569 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.6916, allocations: 0 / 0.9569 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.557e-05/0.6917, allocations: 6.188 kB / 0.9569 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.6917, allocations: 1.188 kB / 0.9569 GB, free: 5.406 MB / 0.7169 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 (cmpAll,cmp1,cmp2,cmp3,cmp4,cmp5) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.129e-05/0.6918, allocations: 124 kB / 0.957 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.6918, allocations: 6.812 kB / 0.9571 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.133e-05/0.6918, allocations: 9.516 kB / 0.9571 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.6918, allocations: 0 / 0.9571 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.6918, allocations: 1.594 kB / 0.9571 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.6918, allocations: 0 / 0.9571 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.692, allocations: 357.9 kB / 0.9574 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.692, allocations: 5.219 kB / 0.9574 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.167e-06/0.6921, allocations: 3.953 kB / 0.9574 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.6921, allocations: 0 / 0.9574 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.6921, allocations: 4.969 kB / 0.9574 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.6921, allocations: 3.938 kB / 0.9574 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.6921, allocations: 1 kB / 0.9574 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.534e-05/0.6921, allocations: 60.78 kB / 0.9575 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.184e-05/0.6922, allocations: 94.94 kB / 0.9576 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.6922, allocations: 4.891 kB / 0.9576 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.211e-05/0.6922, allocations: 3.938 kB / 0.9576 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.6923, allocations: 2 kB / 0.9576 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-06/0.6923, allocations: 0 / 0.9576 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.395e-05/0.6923, allocations: 106.9 kB / 0.9577 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6923, allocations: 0 / 0.9577 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002202/0.6925, allocations: 8.938 kB / 0.9577 GB, free: 4.57 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002565/0.6928, allocations: 122.1 kB / 0.9578 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.976e-05/0.6929, allocations: 25.2 kB / 0.9578 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6929, allocations: 0 / 0.9578 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.596e-06/0.6929, allocations: 2.031 kB / 0.9578 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.6931, allocations: 7.719 kB / 0.9578 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002166/0.6933, allocations: 116.2 kB / 0.958 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.6935, allocations: 0.6812 MB / 0.9586 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.426e-05/0.6935, allocations: 16.48 kB / 0.9586 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.603e-05/0.6935, allocations: 13.66 kB / 0.9586 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6935, allocations: 0 / 0.9586 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of Templates: time 0.002762/0.6963, allocations: 0.5101 MB / 0.9591 GB, free: 3.34 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile (rm -f Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & ./Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches