Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmpAll",fileNamePrefix="Buildings_11_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.001465/0.001465, allocations: 112.9 kB / 15.99 MB, free: 6.348 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.001415/0.001415, allocations: 194.4 kB / 16.91 MB, free: 6.188 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.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.737/2.737, allocations: 469.8 MB / 0.7427 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 67.75 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.319, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.00164/0.3207, allocations: 0.5833 MB / 1.065 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003781/0.3211, allocations: 148.1 kB / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.386e-05/0.3211, allocations: 3.938 kB / 1.065 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.401e-05/0.3211, allocations: 0 / 1.065 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.3213, allocations: 7.938 kB / 1.065 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 6.466e-05/0.3214, allocations: 27.97 kB / 1.065 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.261e-05/0.3215, allocations: 19.94 kB / 1.065 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.987e-05/0.3215, allocations: 7.984 kB / 1.065 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.658e-05/0.3216, allocations: 15.92 kB / 1.065 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003558/0.3219, allocations: 326.4 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.3219, allocations: 4 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.868e-05/0.322, allocations: 11.98 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/0.322, allocations: 11.92 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.177e-05/0.322, allocations: 11.88 kB / 1.065 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.354e-05/0.3221, allocations: 23.97 kB / 1.065 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3221, allocations: 8 kB / 1.065 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3221, allocations: 0 / 1.065 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.3222, allocations: 0 / 1.065 GB, free: 13.96 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.0003582/0.3225, allocations: 347.6 kB / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.3226, allocations: 8.031 kB / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.3226, allocations: 4.938 kB / 1.066 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.3227, allocations: 172.2 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.3227, allocations: 4.375 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.3228, allocations: 4.312 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.3229, allocations: 61.8 kB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3229, allocations: 0 / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.3229, allocations: 0 / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.3229, allocations: 0 / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.142e-05/0.323, allocations: 19.98 kB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.3234, allocations: 272.8 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.581e-05/0.3234, allocations: 26.5 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.564e-05/0.3234, allocations: 8.859 kB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.3235, allocations: 3.984 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.3235, allocations: 38.56 kB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.3235, allocations: 0 / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001385/0.3236, allocations: 33.7 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.3237, allocations: 55.41 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.3238, allocations: 139.1 kB / 1.066 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.3238, allocations: 25.83 kB / 1.066 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.918e-05/0.3239, allocations: 100 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.866e-06/0.3239, allocations: 11.86 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.324, allocations: 29.7 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3241, allocations: 318.8 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.596e-05/0.3242, allocations: 11.98 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.04e-05/0.3242, allocations: 8 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.613e-05/0.3242, allocations: 16.86 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3242, allocations: 0 / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000109/0.3243, allocations: 65.59 kB / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3244, allocations: 10.03 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3244, allocations: 3.984 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.3244, allocations: 0 / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.16e-05/0.3244, allocations: 3.938 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3244, allocations: 4 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.169e-05/0.3245, allocations: 0 / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.3245, allocations: 3.938 kB / 1.067 GB, free: 11.96 MB / 0.8419 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.01e-05/0.3246, allocations: 113.8 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.3246, allocations: 11.91 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.098e-05/0.3246, allocations: 11.52 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.3246, allocations: 0 / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3246, allocations: 192 / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3246, allocations: 4 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.3249, allocations: 362.6 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3249, allocations: 0 / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-06/0.3249, allocations: 4 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.325, allocations: 4.031 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.325, allocations: 0 / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.325, allocations: 3.938 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.325, allocations: 0 / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.187e-05/0.3251, allocations: 61.05 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.01e-05/0.3251, allocations: 81.05 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.3251, allocations: 3.984 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.329e-05/0.3251, allocations: 7.938 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.593e-05/0.3252, allocations: 4.031 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.3252, allocations: 0 / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.331e-05/0.3252, allocations: 106.4 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3252, allocations: 0 / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001983/0.3255, allocations: 12 kB / 1.068 GB, free: 11.09 MB / 0.8419 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.0002595/0.3257, allocations: 129 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.367e-05/0.3258, allocations: 19.98 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3258, allocations: 0 / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.787e-06/0.3258, allocations: 4 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.326, allocations: 4 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002302/0.3262, allocations: 162.7 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.3265, allocations: 0.6807 MB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.248e-05/0.3266, allocations: 7.438 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of SimCode: time 3.3e-07/0.3266, allocations: 0 / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of Templates: time 0.002567/0.3291, allocations: 0.9634 MB / 1.07 GB, free: 9.066 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile (rm -f Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & ./Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches