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.006952/0.006952, allocations: 99.86 kB / 15.73 MB, free: 6.004 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.001298/0.001298, allocations: 191 kB / 16.67 MB, free: 5.934 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.264/1.264, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.266/2.266, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 66.33 kB / 0.9508 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3322, allocations: 140.4 MB / 1.088 GB, free: 1.637 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.002132/0.3344, allocations: 0.532 MB / 1.088 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005905/0.335, allocations: 144.5 kB / 1.089 GB, free: 0.9609 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.391e-05/0.335, allocations: 0 / 1.089 GB, free: 0.9609 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.562e-05/0.3351, allocations: 3.938 kB / 1.089 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.3354, allocations: 15.92 kB / 1.089 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 7.571e-05/0.3355, allocations: 23.86 kB / 1.089 GB, free: 0.918 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.78e-05/0.3356, allocations: 31.91 kB / 1.089 GB, free: 0.8867 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.403e-05/0.3356, allocations: 7.984 kB / 1.089 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.536e-05/0.3357, allocations: 11.94 kB / 1.089 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004403/0.3361, allocations: 318.7 kB / 1.089 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.3362, allocations: 4 kB / 1.089 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.891e-05/0.3362, allocations: 8 kB / 1.089 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.3363, allocations: 11.92 kB / 1.089 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.741e-05/0.3363, allocations: 11.88 kB / 1.089 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.3365, allocations: 39.83 kB / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3365, allocations: 8 kB / 1.089 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.415e-06/0.3365, allocations: 0 / 1.089 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.3365, allocations: 0 / 1.089 GB, free: 0.5 MB / 0.8419 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.0004862/0.337, allocations: 351.2 kB / 1.089 GB, free: 112 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.3371, allocations: 8.031 kB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/0.3371, allocations: 4.938 kB / 1.089 GB, free: 100 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.3373, allocations: 180.2 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.3374, allocations: 384 / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.3374, allocations: 4.375 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.3376, allocations: 57.81 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.3376, allocations: 0 / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.3376, allocations: 3.938 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.3376, allocations: 0 / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.728e-05/0.3377, allocations: 19.98 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004659/0.3381, allocations: 276.8 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.422e-05/0.3382, allocations: 26.52 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.575e-05/0.3382, allocations: 8.859 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.3382, allocations: 0 / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.3383, allocations: 34.62 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.3383, allocations: 0 / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001976/0.3385, allocations: 33.66 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.3386, allocations: 59.34 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.3387, allocations: 139.8 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.3387, allocations: 29.7 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.077e-05/0.3388, allocations: 96.17 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.667e-06/0.3388, allocations: 4 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.274e-05/0.3389, allocations: 25.7 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.339, allocations: 318.8 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.53e-05/0.339, allocations: 7.984 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.083e-05/0.3391, allocations: 12 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.132e-05/0.3391, allocations: 20.84 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3391, allocations: 0 / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001148/0.3393, allocations: 69.58 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3393, allocations: 8 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3393, allocations: 0 / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3393, allocations: 0 / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.519e-05/0.3393, allocations: 0 / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3393, allocations: 4 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.75e-05/0.3394, allocations: 3.938 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.3394, allocations: 7.938 kB / 1.091 GB, free: 14.5 MB / 0.8575 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 0.0001028/0.3395, allocations: 113.8 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.3395, allocations: 11.89 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.964e-05/0.3396, allocations: 7.531 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.3396, allocations: 0 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3396, allocations: 192 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.3396, allocations: 4 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.3399, allocations: 366.6 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.34, allocations: 4 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-06/0.34, allocations: 3.984 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.34, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.34, allocations: 8.031 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.34, allocations: 3.938 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.34, allocations: 0 / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.3e-05/0.3401, allocations: 61.08 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/0.3401, allocations: 77.11 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.3402, allocations: 4 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.448e-05/0.3402, allocations: 3.938 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-05/0.3402, allocations: 4.031 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-06/0.3402, allocations: 3.938 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.598e-05/0.3403, allocations: 103.3 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3403, allocations: 0 / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002247/0.3405, allocations: 15.98 kB / 1.092 GB, free: 13.61 MB / 0.8575 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.00033/0.3409, allocations: 128.4 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001293/0.341, allocations: 19.98 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.341, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.907e-06/0.341, allocations: 4 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.3412, allocations: 2.344 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002563/0.3415, allocations: 120.9 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.3418, allocations: 0.6807 MB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.953e-05/0.3418, allocations: 12.19 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.002e-05/0.3418, allocations: 11.42 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.3418, allocations: 3.938 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of Templates: time 0.003232/0.3451, allocations: 0.5316 MB / 1.093 GB, free: 12.05 MB / 0.8575 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