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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00116/0.00116, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.199/1.199, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.107/2.107, allocations: 390.2 MB / 0.6646 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 55.91 kB / 0.8125 GB, free: 14.5 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5848/0.586, allocations: 140.4 MB / 0.9496 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001777/0.5878, allocations: 0.5245 MB / 0.9501 GB, free: 8.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003722/0.5882, allocations: 150.6 kB / 0.9502 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.872e-05/0.5882, allocations: 3.938 kB / 0.9502 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.358e-05/0.5883, allocations: 3.938 kB / 0.9502 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001937/0.5885, allocations: 10.67 kB / 0.9502 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.589e-05/0.5885, allocations: 24.17 kB / 0.9503 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.833e-05/0.5886, allocations: 26.86 kB / 0.9503 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.31e-05/0.5886, allocations: 6.734 kB / 0.9503 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.985e-05/0.5887, allocations: 13.44 kB / 0.9503 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002828/0.589, allocations: 311.2 kB / 0.9506 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.589, allocations: 1.656 kB / 0.9506 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.339e-05/0.589, allocations: 21.36 kB / 0.9506 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.5891, allocations: 6.641 kB / 0.9506 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.076e-05/0.5891, allocations: 14.84 kB / 0.9506 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.488e-05/0.5892, allocations: 39.48 kB / 0.9507 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.5892, allocations: 1.438 kB / 0.9507 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5892, allocations: 0 / 0.9507 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.5892, allocations: 0 / 0.9507 GB, free: 8.414 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.0002573/0.5895, allocations: 354.5 kB / 0.951 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.5895, allocations: 9.719 kB / 0.951 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.952e-05/0.5895, allocations: 6.969 kB / 0.951 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.045e-05/0.5896, allocations: 175.5 kB / 0.9512 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.5896, allocations: 5.406 kB / 0.9512 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.5896, allocations: 1.938 kB / 0.9512 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.5898, allocations: 60.08 kB / 0.9513 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.5898, allocations: 0 / 0.9513 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.5898, allocations: 1.125 kB / 0.9513 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.5898, allocations: 5.031 kB / 0.9513 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.262e-05/0.5898, allocations: 13.78 kB / 0.9513 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002667/0.5901, allocations: 274.3 kB / 0.9516 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.808e-05/0.5901, allocations: 17.14 kB / 0.9516 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.551e-05/0.5902, allocations: 6.078 kB / 0.9516 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.5902, allocations: 5.375 kB / 0.9516 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.441e-05/0.5902, allocations: 34.56 kB / 0.9516 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.5902, allocations: 0 / 0.9516 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001247/0.5903, allocations: 41.58 kB / 0.9517 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.5904, allocations: 55.39 kB / 0.9517 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.768e-05/0.5905, allocations: 138.3 kB / 0.9518 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.5905, allocations: 25.7 kB / 0.9519 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.131e-05/0.5905, allocations: 95.7 kB / 0.952 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.901e-06/0.5905, allocations: 5.25 kB / 0.952 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.5906, allocations: 29.86 kB / 0.952 GB, free: 7 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.957e-05/0.5906, allocations: 324.1 kB / 0.9523 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.561e-05/0.5907, allocations: 9.594 kB / 0.9523 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.025e-05/0.5907, allocations: 10.91 kB / 0.9523 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.093e-05/0.5907, allocations: 19.94 kB / 0.9523 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5907, allocations: 5.5 kB / 0.9523 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.86e-05/0.5908, allocations: 62.72 kB / 0.9524 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.5908, allocations: 7.156 kB / 0.9524 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.5908, allocations: 0 / 0.9524 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.5909, allocations: 4.781 kB / 0.9524 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.94e-05/0.5909, allocations: 2.312 kB / 0.9524 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.5909, allocations: 3.938 kB / 0.9524 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.341e-05/0.5909, allocations: 6.438 kB / 0.9524 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.5909, allocations: 9.25 kB / 0.9524 GB, free: 6.582 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 (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 4.174e-05/0.591, allocations: 116.2 kB / 0.9525 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.591, allocations: 6.5 kB / 0.9525 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.683e-05/0.591, allocations: 8.812 kB / 0.9526 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.591, allocations: 5.234 kB / 0.9526 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.591, allocations: 4 kB / 0.9526 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.591, allocations: 0 / 0.9526 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.5912, allocations: 358.3 kB / 0.9529 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.5912, allocations: 1.125 kB / 0.9529 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.296e-06/0.5912, allocations: 0 / 0.9529 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.5912, allocations: 1.281 kB / 0.9529 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.5912, allocations: 3.938 kB / 0.9529 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.5912, allocations: 7.875 kB / 0.9529 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.5913, allocations: 5.312 kB / 0.9529 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.348e-05/0.5913, allocations: 61 kB / 0.953 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.554e-05/0.5913, allocations: 82.3 kB / 0.9531 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.5913, allocations: 0 / 0.9531 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.332e-05/0.5914, allocations: 5.125 kB / 0.9531 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.15e-05/0.5914, allocations: 1.281 kB / 0.9531 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-06/0.5914, allocations: 0 / 0.9531 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.603e-05/0.5914, allocations: 112.1 kB / 0.9532 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5914, allocations: 3.938 kB / 0.9532 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001914/0.5916, allocations: 12.69 kB / 0.9532 GB, free: 5.75 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 (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.0002197/0.5919, allocations: 111.5 kB / 0.9533 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.29e-05/0.592, allocations: 24.27 kB / 0.9533 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.592, allocations: 4.969 kB / 0.9533 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.205e-06/0.592, allocations: 2.156 kB / 0.9533 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.5921, allocations: 9.969 kB / 0.9533 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001757/0.5923, allocations: 111.2 kB / 0.9534 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.886e-05/0.5924, allocations: 0.687 MB / 0.9541 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.475e-05/0.5924, allocations: 12.45 kB / 0.9541 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.491e-05/0.5925, allocations: 9.438 kB / 0.9541 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.5925, allocations: 0 / 0.9541 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of Templates: time 0.002202/0.5947, allocations: 0.5399 MB / 0.9547 GB, free: 4.512 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