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.001504/0.001504, allocations: 104.6 kB / 16.27 MB, free: 6.414 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.001684/0.001684, 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.597/1.597, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.526/2.526, allocations: 390.2 MB / 0.6653 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 65.94 kB / 0.8132 GB, free: 33.04 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3281, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.002009/0.3301, allocations: 0.533 MB / 0.9508 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004781/0.3306, allocations: 148.1 kB / 0.9509 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.972e-05/0.3307, allocations: 0 / 0.9509 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.88e-05/0.3307, allocations: 3.938 kB / 0.9509 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.331, allocations: 7.938 kB / 0.9509 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 8.878e-05/0.3311, allocations: 23.92 kB / 0.951 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.006e-05/0.3311, allocations: 31.84 kB / 0.951 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.998e-05/0.3312, allocations: 8 kB / 0.951 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.259e-05/0.3312, allocations: 11.92 kB / 0.951 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003789/0.3316, allocations: 306.9 kB / 0.9513 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.3316, allocations: 0 / 0.9513 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.855e-05/0.3317, allocations: 16 kB / 0.9513 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.3317, allocations: 3.938 kB / 0.9513 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.3318, allocations: 15.92 kB / 0.9513 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.3319, allocations: 39.83 kB / 0.9514 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3319, allocations: 0 / 0.9514 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3319, allocations: 0 / 0.9514 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.3319, allocations: 0 / 0.9514 GB, free: 7.75 MB / 0.7325 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.0003943/0.3323, allocations: 355.6 kB / 0.9517 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3324, allocations: 11.89 kB / 0.9517 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.3324, allocations: 8.844 kB / 0.9517 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.3326, allocations: 176.2 kB / 0.9519 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.3326, allocations: 4.375 kB / 0.9519 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.3326, allocations: 384 / 0.9519 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.3328, allocations: 53.8 kB / 0.952 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.3328, allocations: 0 / 0.952 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.3328, allocations: 4 kB / 0.952 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.3328, allocations: 0 / 0.952 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.861e-05/0.3329, allocations: 19.98 kB / 0.952 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003748/0.3332, allocations: 268.9 kB / 0.9522 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.436e-05/0.3333, allocations: 22.52 kB / 0.9523 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.656e-05/0.3333, allocations: 8.844 kB / 0.9523 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-06/0.3334, allocations: 0 / 0.9523 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.3334, allocations: 34.56 kB / 0.9523 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.3334, allocations: 4 kB / 0.9523 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001484/0.3335, allocations: 37.67 kB / 0.9523 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.3336, allocations: 55.34 kB / 0.9524 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.3337, allocations: 140.2 kB / 0.9525 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.3338, allocations: 25.7 kB / 0.9525 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.541e-05/0.3338, allocations: 102 kB / 0.9526 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.925e-06/0.3338, allocations: 3.938 kB / 0.9526 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/0.3339, allocations: 25.7 kB / 0.9527 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.334, allocations: 326.9 kB / 0.953 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.773e-05/0.3341, allocations: 8 kB / 0.953 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.283e-05/0.3341, allocations: 11.98 kB / 0.953 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.749e-05/0.3341, allocations: 16.86 kB / 0.953 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.3341, allocations: 3.938 kB / 0.953 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001208/0.3343, allocations: 65.53 kB / 0.9531 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3343, allocations: 4 kB / 0.9531 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3343, allocations: 0 / 0.9531 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3343, allocations: 7.984 kB / 0.9531 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.415e-05/0.3343, allocations: 0 / 0.9531 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.3344, allocations: 4 kB / 0.9531 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.315e-05/0.3344, allocations: 8.188 kB / 0.9531 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.3344, allocations: 7.938 kB / 0.9531 GB, free: 5.742 MB / 0.7325 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 8.937e-05/0.3345, allocations: 109.8 kB / 0.9532 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.3345, allocations: 3.906 kB / 0.9532 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/0.3346, allocations: 15.52 kB / 0.9532 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3346, allocations: 0 / 0.9532 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.3346, allocations: 3.984 kB / 0.9532 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3346, allocations: 0 / 0.9532 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/0.3349, allocations: 362.7 kB / 0.9536 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3349, allocations: 3.984 kB / 0.9536 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.769e-06/0.3349, allocations: 0 / 0.9536 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3349, allocations: 0 / 0.9536 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.3349, allocations: 0 / 0.9536 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.335, allocations: 7.938 kB / 0.9536 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.335, allocations: 0 / 0.9536 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.465e-05/0.335, allocations: 65.08 kB / 0.9537 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.3351, allocations: 77.11 kB / 0.9537 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.3351, allocations: 3.984 kB / 0.9537 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.512e-05/0.3351, allocations: 3.938 kB / 0.9537 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-05/0.3352, allocations: 7.938 kB / 0.9538 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.3352, allocations: 3.938 kB / 0.9538 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.896e-05/0.3352, allocations: 103.3 kB / 0.9539 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3353, allocations: 0 / 0.9539 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002117/0.3355, allocations: 16.03 kB / 0.9539 GB, free: 4.859 MB / 0.7325 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.0002995/0.3358, allocations: 130.1 kB / 0.954 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001037/0.3359, allocations: 23.98 kB / 0.954 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3359, allocations: 0 / 0.954 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.171e-05/0.3359, allocations: 8 kB / 0.954 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.3361, allocations: 7.938 kB / 0.954 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002693/0.3363, allocations: 138.7 kB / 0.9542 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.3366, allocations: 0.6844 MB / 0.9548 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.566e-05/0.3367, allocations: 11.44 kB / 0.9548 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of SimCode: time 7.61e-07/0.3367, allocations: 0 / 0.9548 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of Templates: time 0.002731/0.3394, allocations: 0.953 MB / 0.9558 GB, free: 2.855 MB / 0.7325 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