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.001367/0.001367, allocations: 106 kB / 16.27 MB, free: 6.41 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.001387/0.001388, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.396/1.396, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.445/2.445, allocations: 437.1 MB / 0.711 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 69.28 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2835, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001833/0.2854, allocations: 0.537 MB / 1.018 GB, free: 10.1 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004283/0.2858, allocations: 144.1 kB / 1.019 GB, free: 9.953 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.931e-05/0.2858, allocations: 4 kB / 1.019 GB, free: 9.949 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.914e-05/0.2859, allocations: 3.938 kB / 1.019 GB, free: 9.945 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000178/0.2861, allocations: 11.94 kB / 1.019 GB, free: 9.934 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 7.808e-05/0.2862, allocations: 23.92 kB / 1.019 GB, free: 9.91 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.62e-05/0.2862, allocations: 31.84 kB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.084e-05/0.2863, allocations: 0 / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.53e-05/0.2863, allocations: 19.88 kB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003494/0.2867, allocations: 314.3 kB / 1.019 GB, free: 9.582 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.2867, allocations: 0 / 1.019 GB, free: 9.582 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.55e-05/0.2868, allocations: 19.98 kB / 1.019 GB, free: 9.562 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/0.2868, allocations: 11.94 kB / 1.019 GB, free: 9.551 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.2868, allocations: 11.88 kB / 1.019 GB, free: 9.539 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.2869, allocations: 39.88 kB / 1.019 GB, free: 9.5 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.287, allocations: 0 / 1.019 GB, free: 9.5 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.723e-06/0.287, allocations: 0 / 1.019 GB, free: 9.5 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.391e-06/0.287, allocations: 0 / 1.019 GB, free: 9.5 MB / 0.795 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.0003565/0.2873, allocations: 351.7 kB / 1.019 GB, free: 9.109 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.2874, allocations: 12.03 kB / 1.019 GB, free: 9.098 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.2874, allocations: 4.844 kB / 1.019 GB, free: 9.094 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.2875, allocations: 176.2 kB / 1.02 GB, free: 8.883 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.2876, allocations: 384 / 1.02 GB, free: 8.883 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.2876, allocations: 4.375 kB / 1.02 GB, free: 8.879 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.2877, allocations: 57.73 kB / 1.02 GB, free: 8.816 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.2877, allocations: 0 / 1.02 GB, free: 8.816 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.2877, allocations: 4 kB / 1.02 GB, free: 8.812 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.2877, allocations: 0 / 1.02 GB, free: 8.812 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.838e-05/0.2878, allocations: 19.92 kB / 1.02 GB, free: 8.793 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.2882, allocations: 268.9 kB / 1.02 GB, free: 8.48 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 3.866e-05/0.2882, allocations: 30.45 kB / 1.02 GB, free: 8.441 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.97e-05/0.2882, allocations: 8.922 kB / 1.02 GB, free: 8.43 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 6.913e-06/0.2882, allocations: 0 / 1.02 GB, free: 8.43 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.2883, allocations: 30.56 kB / 1.02 GB, free: 8.391 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.2883, allocations: 0 / 1.02 GB, free: 8.391 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.000134/0.2884, allocations: 41.59 kB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.2885, allocations: 55.53 kB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.2886, allocations: 143.7 kB / 1.02 GB, free: 8.129 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.2886, allocations: 25.7 kB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.861e-05/0.2887, allocations: 96.05 kB / 1.02 GB, free: 8 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.374e-06/0.2887, allocations: 3.938 kB / 1.02 GB, free: 7.996 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/0.2887, allocations: 25.7 kB / 1.02 GB, free: 7.965 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.2888, allocations: 322.7 kB / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.83e-05/0.2889, allocations: 12 kB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.397e-05/0.2889, allocations: 15.98 kB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.932e-05/0.289, allocations: 20.98 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.289, allocations: 0 / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001156/0.2891, allocations: 65.59 kB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.2891, allocations: 6.5 kB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.2891, allocations: 0 / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.2891, allocations: 0 / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.629e-05/0.2892, allocations: 11.92 kB / 1.021 GB, free: 7.504 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.2892, allocations: 0 / 1.021 GB, free: 7.504 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.63e-05/0.2892, allocations: 0 / 1.021 GB, free: 7.504 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.2892, allocations: 7.938 kB / 1.021 GB, free: 7.496 MB / 0.795 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.261e-05/0.2893, allocations: 109.8 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.2893, allocations: 7.906 kB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.022e-05/0.2894, allocations: 7.531 kB / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.2894, allocations: 7.984 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2894, allocations: 0 / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2894, allocations: 3.984 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.2897, allocations: 354.7 kB / 1.021 GB, free: 6.945 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.2897, allocations: 4.031 kB / 1.021 GB, free: 6.941 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-06/0.2897, allocations: 7.875 kB / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2897, allocations: 0 / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-06/0.2897, allocations: 0 / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.2897, allocations: 3.938 kB / 1.021 GB, free: 6.93 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2897, allocations: 3.984 kB / 1.021 GB, free: 6.926 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.73e-05/0.2898, allocations: 61.05 kB / 1.021 GB, free: 6.848 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.2898, allocations: 85.14 kB / 1.021 GB, free: 6.746 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.2899, allocations: 0 / 1.021 GB, free: 6.746 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.614e-05/0.2899, allocations: 8 kB / 1.021 GB, free: 6.738 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.967e-05/0.2899, allocations: 7.922 kB / 1.021 GB, free: 6.73 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.2899, allocations: 0 / 1.021 GB, free: 6.73 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.275e-05/0.29, allocations: 105.2 kB / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.29, allocations: 0 / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002057/0.2902, allocations: 12 kB / 1.022 GB, free: 6.617 MB / 0.795 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.0002571/0.2905, allocations: 127.7 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 9.353e-05/0.2906, allocations: 19.94 kB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2906, allocations: 0 / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.775e-06/0.2906, allocations: 4 kB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.2907, allocations: 0 / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002325/0.291, allocations: 150.7 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.2912, allocations: 0.6846 MB / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.2913, allocations: 11.44 kB / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.2913, allocations: 0 / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of Templates: time 0.002343/0.2936, allocations: 0.9621 MB / 1.023 GB, free: 4.605 MB / 0.795 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 -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