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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00114/0.00114, allocations: 97.78 kB / 16.02 MB, free: 76 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.001674/0.001674, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.446/1.446, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.576/2.576, allocations: 437.8 MB / 0.7128 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003295, allocations: 8 kB / 0.8735 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6252/0.6256, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.0005835/0.6262, allocations: 260 kB / 1.024 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004183/0.6266, allocations: 148.1 kB / 1.024 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.538e-05/0.6267, allocations: 4 kB / 1.024 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.491e-05/0.6267, allocations: 0 / 1.024 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.6268, allocations: 11.86 kB / 1.024 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 6.215e-05/0.6269, allocations: 23.92 kB / 1.024 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.902e-05/0.627, allocations: 27.92 kB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.925e-05/0.627, allocations: 4 kB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.21e-05/0.627, allocations: 11.92 kB / 1.024 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003296/0.6274, allocations: 308.7 kB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.6274, allocations: 0 / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.718e-05/0.6275, allocations: 23.98 kB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.6275, allocations: 3.938 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.883e-05/0.6275, allocations: 45.56 kB / 1.025 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.043e-05/0.6276, allocations: 23.91 kB / 1.025 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.6276, allocations: 0 / 1.025 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6276, allocations: 0 / 1.025 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.6276, allocations: 0 / 1.025 GB, free: 15.05 MB / 0.7794 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.0002836/0.6279, allocations: 341.3 kB / 1.025 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.6279, allocations: 8.031 kB / 1.025 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.933e-05/0.628, allocations: 4.938 kB / 1.025 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.6281, allocations: 180.3 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.6281, allocations: 8.375 kB / 1.025 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.6281, allocations: 4.375 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.6283, allocations: 45.81 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.39e-06/0.6283, allocations: 0 / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-06/0.6283, allocations: 3.938 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.6283, allocations: 4 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.671e-05/0.6283, allocations: 19.92 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003359/0.6287, allocations: 284.8 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.358e-05/0.6287, allocations: 14.58 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.11e-05/0.6288, allocations: 8.922 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.373e-06/0.6288, allocations: 3.984 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.6288, allocations: 30.56 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.6288, allocations: 0 / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001273/0.6289, allocations: 45.55 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.629, allocations: 55.53 kB / 1.026 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.6291, allocations: 147.3 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.6291, allocations: 25.7 kB / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/0.6292, allocations: 88.05 kB / 1.026 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.629e-06/0.6292, allocations: 4 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.6292, allocations: 13.72 kB / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.6293, allocations: 326.7 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.213e-05/0.6293, allocations: 8 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.531e-05/0.6294, allocations: 19.98 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.571e-05/0.6294, allocations: 20.8 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6294, allocations: 0 / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001085/0.6295, allocations: 61.59 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.6295, allocations: 4 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.6296, allocations: 4 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.6296, allocations: 0 / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.3e-05/0.6296, allocations: 3.984 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.6296, allocations: 0 / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.13e-05/0.6296, allocations: 11.84 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.6297, allocations: 7.938 kB / 1.026 GB, free: 13.06 MB / 0.7794 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 6.936e-05/0.6297, allocations: 109.8 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.6298, allocations: 4 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.953e-05/0.6298, allocations: 11.47 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.6298, allocations: 0 / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.6298, allocations: 0 / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.6298, allocations: 4.172 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.6301, allocations: 362.7 kB / 1.027 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.6301, allocations: 0 / 1.027 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.209e-06/0.6301, allocations: 0 / 1.027 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.6301, allocations: 4 kB / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-06/0.6301, allocations: 0 / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.6301, allocations: 7.922 kB / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.6301, allocations: 0 / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.275e-05/0.6302, allocations: 68.92 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.6302, allocations: 93.06 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.6303, allocations: 4 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.374e-05/0.6303, allocations: 3.938 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.603e-05/0.6303, allocations: 0 / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.6303, allocations: 0 / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.06e-05/0.6304, allocations: 108.8 kB / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6304, allocations: 0 / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001954/0.6306, allocations: 12 kB / 1.027 GB, free: 12.18 MB / 0.7794 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.0002465/0.6308, allocations: 130.7 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.941e-05/0.6309, allocations: 19.98 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6309, allocations: 3.938 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.586e-06/0.631, allocations: 4 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.6311, allocations: 4 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002144/0.6313, allocations: 144.5 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.6315, allocations: 0.6809 MB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.6316, allocations: 19.42 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.6316, allocations: 0 / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of Templates: time 0.00238/0.634, allocations: 0.9552 MB / 1.029 GB, free: 10.16 MB / 0.7794 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