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.001588/0.001588, allocations: 100.1 kB / 15.88 MB, free: 8 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.002205/0.002205, allocations: 198.2 kB / 16.79 MB, free: 6.828 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.456/1.456, allocations: 222.9 MB / 240.5 MB, free: 4.547 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.38/2.38, allocations: 390.2 MB / 0.6649 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 59.91 kB / 0.8125 GB, free: 14.93 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6561/0.6576, allocations: 140.4 MB / 0.9496 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001535/0.6592, allocations: 0.5981 MB / 0.9501 GB, free: 8.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003714/0.6595, allocations: 143 kB / 0.9503 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.406e-05/0.6596, allocations: 1.094 kB / 0.9503 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.909e-05/0.6596, allocations: 0 / 0.9503 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.6598, allocations: 14.28 kB / 0.9503 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.929e-05/0.6598, allocations: 16.16 kB / 0.9503 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.218e-05/0.6599, allocations: 26.11 kB / 0.9503 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.6599, allocations: 7.422 kB / 0.9503 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.108e-05/0.66, allocations: 12.52 kB / 0.9504 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003242/0.6603, allocations: 324.8 kB / 0.9507 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.6603, allocations: 1.375 kB / 0.9507 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.248e-05/0.6604, allocations: 21.61 kB / 0.9507 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.062e-05/0.6604, allocations: 1.375 kB / 0.9507 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/0.6604, allocations: 16 kB / 0.9507 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.364e-05/0.6605, allocations: 26.83 kB / 0.9507 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.6605, allocations: 1.375 kB / 0.9507 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6605, allocations: 0 / 0.9507 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.6605, allocations: 3.938 kB / 0.9507 GB, free: 8.402 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.00027/0.6608, allocations: 354.9 kB / 0.9511 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.6608, allocations: 12.25 kB / 0.9511 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.6609, allocations: 7.594 kB / 0.9511 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.939e-05/0.661, allocations: 167 kB / 0.9512 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.661, allocations: 1.75 kB / 0.9513 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.661, allocations: 7.125 kB / 0.9513 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.6611, allocations: 55.42 kB / 0.9513 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.6611, allocations: 0 / 0.9513 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.6611, allocations: 1.375 kB / 0.9513 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.6611, allocations: 0 / 0.9513 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.51e-05/0.6612, allocations: 18.94 kB / 0.9513 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002769/0.6615, allocations: 278.9 kB / 0.9516 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.418e-05/0.6615, allocations: 15.95 kB / 0.9516 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.451e-05/0.6615, allocations: 6.234 kB / 0.9516 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/0.6615, allocations: 1.375 kB / 0.9516 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.159e-05/0.6616, allocations: 30.56 kB / 0.9516 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 2.325e-06/0.6616, allocations: 4 kB / 0.9517 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001239/0.6617, allocations: 44.41 kB / 0.9517 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.039e-05/0.6617, allocations: 60.72 kB / 0.9518 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.451e-05/0.6618, allocations: 138.5 kB / 0.9519 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.061e-06/0.6618, allocations: 25.7 kB / 0.9519 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.952e-05/0.6619, allocations: 94.78 kB / 0.952 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.991e-06/0.6619, allocations: 5.281 kB / 0.952 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.6619, allocations: 25.95 kB / 0.952 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.165e-05/0.662, allocations: 328.3 kB / 0.9523 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.223e-05/0.662, allocations: 5.5 kB / 0.9523 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.178e-05/0.662, allocations: 14.86 kB / 0.9524 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.076e-05/0.662, allocations: 17.11 kB / 0.9524 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.6621, allocations: 0 / 0.9524 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.284e-05/0.6622, allocations: 67.53 kB / 0.9524 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.6622, allocations: 4.125 kB / 0.9524 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.6622, allocations: 1.375 kB / 0.9524 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.6622, allocations: 0 / 0.9524 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.131e-05/0.6622, allocations: 5.312 kB / 0.9525 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.6622, allocations: 5.375 kB / 0.9525 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.454e-05/0.6623, allocations: 9.297 kB / 0.9525 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.6623, allocations: 5.312 kB / 0.9525 GB, free: 6.574 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.904e-05/0.6623, allocations: 116.5 kB / 0.9526 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.6624, allocations: 6.656 kB / 0.9526 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.073e-05/0.6624, allocations: 4.906 kB / 0.9526 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.6624, allocations: 192 / 0.9526 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.6624, allocations: 5.375 kB / 0.9526 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.6624, allocations: 3.938 kB / 0.9526 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.6626, allocations: 366.8 kB / 0.953 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6626, allocations: 0 / 0.953 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.088e-06/0.6626, allocations: 1.75 kB / 0.953 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.6626, allocations: 0 / 0.953 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.6626, allocations: 0 / 0.953 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.6626, allocations: 3.938 kB / 0.953 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.6626, allocations: 0.9688 kB / 0.953 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.93e-05/0.6627, allocations: 69.44 kB / 0.953 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.411e-05/0.6627, allocations: 81.02 kB / 0.9531 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.6627, allocations: 5.453 kB / 0.9531 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.354e-05/0.6627, allocations: 7.938 kB / 0.9531 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/0.6628, allocations: 1.812 kB / 0.9531 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.6628, allocations: 0 / 0.9531 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.593e-05/0.6628, allocations: 104.5 kB / 0.9532 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6628, allocations: 1.281 kB / 0.9532 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002048/0.663, allocations: 16 kB / 0.9532 GB, free: 5.742 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.000215/0.6633, allocations: 121.9 kB / 0.9533 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.655e-05/0.6634, allocations: 21.11 kB / 0.9534 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.6634, allocations: 1.375 kB / 0.9534 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.205e-06/0.6634, allocations: 9.312 kB / 0.9534 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.6635, allocations: 6.875 kB / 0.9534 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001815/0.6637, allocations: 146.1 kB / 0.9535 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.447e-05/0.6638, allocations: 0.6801 MB / 0.9542 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.432e-05/0.6638, allocations: 15.36 kB / 0.9542 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.6638, allocations: 0 / 0.9542 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of Templates: time 0.002071/0.6659, allocations: 0.948 MB / 0.9551 GB, free: 4.277 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches