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.001188/0.001188, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001258/0.001258, allocations: 187 kB / 17.34 MB, free: 5.719 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.14 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.385/2.385, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 59.91 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9107/0.9125, allocations: 151.6 MB / 1.167 GB, free: 4.02 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.002003/0.9145, allocations: 0.5398 MB / 1.168 GB, free: 3.484 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004921/0.9151, allocations: 152.1 kB / 1.168 GB, free: 3.332 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.003e-05/0.9151, allocations: 0 / 1.168 GB, free: 3.332 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.092e-05/0.9151, allocations: 3.938 kB / 1.168 GB, free: 3.328 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.9154, allocations: 11.92 kB / 1.168 GB, free: 3.316 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 9.496e-05/0.9155, allocations: 27.92 kB / 1.168 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.062e-05/0.9156, allocations: 27.91 kB / 1.168 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.081e-05/0.9157, allocations: 4 kB / 1.168 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.911e-05/0.9157, allocations: 11.88 kB / 1.168 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004025/0.9161, allocations: 317.2 kB / 1.168 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.9161, allocations: 0 / 1.168 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.854e-05/0.9162, allocations: 19.98 kB / 1.168 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.487e-05/0.9162, allocations: 3.938 kB / 1.168 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.902e-05/0.9162, allocations: 15.92 kB / 1.168 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.9164, allocations: 43.83 kB / 1.168 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.9164, allocations: 3.938 kB / 1.168 GB, free: 2.879 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.213e-06/0.9164, allocations: 0 / 1.168 GB, free: 2.879 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.9164, allocations: 0 / 1.168 GB, free: 2.879 MB / 0.8887 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.0003534/0.9168, allocations: 355.4 kB / 1.169 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.9168, allocations: 12.02 kB / 1.169 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.9168, allocations: 4.938 kB / 1.169 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.917, allocations: 168.3 kB / 1.169 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.917, allocations: 4.375 kB / 1.169 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.917, allocations: 384 / 1.169 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.9172, allocations: 61.73 kB / 1.169 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.9172, allocations: 0 / 1.169 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.9172, allocations: 4 kB / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.9172, allocations: 0 / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.898e-05/0.9173, allocations: 16 kB / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.9176, allocations: 272.8 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 3.944e-05/0.9177, allocations: 18.58 kB / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.716e-05/0.9177, allocations: 8.859 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.144e-06/0.9177, allocations: 0 / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.9177, allocations: 38.5 kB / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 2.515e-06/0.9177, allocations: 3.984 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001429/0.9179, allocations: 37.75 kB / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.9179, allocations: 51.41 kB / 1.169 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.9181, allocations: 145.6 kB / 1.17 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.9181, allocations: 29.83 kB / 1.17 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.9181, allocations: 92.05 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.219e-06/0.9181, allocations: 0 / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.77e-05/0.9182, allocations: 33.61 kB / 1.17 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.9183, allocations: 322.8 kB / 1.17 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.783e-05/0.9183, allocations: 8 kB / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.444e-05/0.9184, allocations: 12.12 kB / 1.17 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.86e-05/0.9184, allocations: 24.78 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.9184, allocations: 0 / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001062/0.9185, allocations: 61.69 kB / 1.17 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.9186, allocations: 4 kB / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.9186, allocations: 0 / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.9186, allocations: 4 kB / 1.17 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.036e-05/0.9186, allocations: 0 / 1.17 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.9186, allocations: 3.984 kB / 1.17 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.176e-05/0.9187, allocations: 15.84 kB / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.9187, allocations: 7.922 kB / 1.17 GB, free: 0.875 MB / 0.8887 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.517e-05/0.9188, allocations: 117.7 kB / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.9188, allocations: 4 kB / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.297e-05/0.9188, allocations: 11.53 kB / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.9188, allocations: 0 / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.9188, allocations: 0 / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.9188, allocations: 0 / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/0.9191, allocations: 358.7 kB / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.9191, allocations: 0 / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-06/0.9191, allocations: 0 / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.9191, allocations: 32 / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.9192, allocations: 8 kB / 1.171 GB, free: 320 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.9192, allocations: 3.938 kB / 1.171 GB, free: 316 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.9192, allocations: 3.938 kB / 1.171 GB, free: 312 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.805e-05/0.9192, allocations: 67.48 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.902e-05/0.9193, allocations: 81.02 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.9193, allocations: 4.062 kB / 1.171 GB, free: 124 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.396e-05/0.9193, allocations: 3.938 kB / 1.171 GB, free: 120 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/0.9194, allocations: 8.031 kB / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-06/0.9194, allocations: 3.938 kB / 1.171 GB, free: 108 kB / 0.8887 GB Notification: Performance of sorting global known variables: time 6.372e-05/0.9194, allocations: 109.8 kB / 1.171 GB, free: 0 / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9194, allocations: 0 / 1.171 GB, free: 0 / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002173/0.9197, allocations: 8.047 kB / 1.171 GB, free: 15.99 MB / 0.9044 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.0002738/0.9199, allocations: 118.6 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001139/0.9201, allocations: 27.88 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.9201, allocations: 4 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.975e-06/0.9201, allocations: 0 / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.9202, allocations: 4 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002608/0.9205, allocations: 142.6 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.9208, allocations: 0.6854 MB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.514e-05/0.9208, allocations: 15.48 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of SimCode: time 3.41e-07/0.9208, allocations: 0 / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of Templates: time 0.002504/0.9233, allocations: 0.9601 MB / 1.173 GB, free: 13.99 MB / 0.9044 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