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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00122/0.00122, allocations: 109.3 kB / 15.7 MB, free: 132 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.001178/0.001178, allocations: 196.5 kB / 16.63 MB, free: 6.613 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.333/1.333, allocations: 222.9 MB / 240.3 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.408/2.408, allocations: 390.3 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001246, allocations: 66.11 kB / 0.9508 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3211, allocations: 140.4 MB / 1.088 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001599/0.3227, allocations: 0.5345 MB / 1.088 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004538/0.3232, allocations: 144.5 kB / 1.089 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.09e-05/0.3232, allocations: 0 / 1.089 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.092e-05/0.3232, allocations: 3.938 kB / 1.089 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.3235, allocations: 15.86 kB / 1.089 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 6.679e-05/0.3235, allocations: 27.91 kB / 1.089 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.195e-05/0.3236, allocations: 19.92 kB / 1.089 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.976e-05/0.3237, allocations: 11.98 kB / 1.089 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.541e-05/0.3237, allocations: 15.94 kB / 1.089 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004608/0.3242, allocations: 308.9 kB / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.3242, allocations: 4 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.552e-05/0.3243, allocations: 19.98 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.3243, allocations: 15.92 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.3243, allocations: 11.88 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.3244, allocations: 35.89 kB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3245, allocations: 0 / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.345e-06/0.3245, allocations: 4 kB / 1.089 GB, free: 348 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.3245, allocations: 0 / 1.089 GB, free: 348 kB / 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.0003938/0.3249, allocations: 347.3 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.3249, allocations: 8.031 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.325, allocations: 8.922 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.3251, allocations: 180.2 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.3251, allocations: 384 / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.3251, allocations: 4.375 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.3253, allocations: 57.8 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.3253, allocations: 7.938 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.3253, allocations: 0 / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3253, allocations: 4 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.48e-05/0.3254, allocations: 12 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.3257, allocations: 276.8 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.644e-05/0.3258, allocations: 22.52 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.687e-05/0.3258, allocations: 4.859 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.374e-06/0.3259, allocations: 8.062 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.3259, allocations: 30.56 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.3259, allocations: 0 / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001367/0.326, allocations: 41.62 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.3261, allocations: 51.41 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.3262, allocations: 140.7 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.3262, allocations: 25.7 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.3263, allocations: 96.11 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.623e-06/0.3263, allocations: 11.94 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.3263, allocations: 25.7 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3265, allocations: 318.8 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.885e-05/0.3265, allocations: 12 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.204e-05/0.3266, allocations: 8 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.694e-05/0.3266, allocations: 20.84 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3266, allocations: 0 / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001038/0.3267, allocations: 69.53 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.3267, allocations: 8 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3268, allocations: 0 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.3268, allocations: 0 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.501e-05/0.3268, allocations: 4 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3268, allocations: 0 / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.217e-05/0.3268, allocations: 0 / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.3269, allocations: 11.92 kB / 1.091 GB, free: 14.34 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 6.783e-05/0.327, allocations: 109.1 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.327, allocations: 7.906 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.327, allocations: 11.53 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.327, allocations: 0 / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.327, allocations: 192 / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.327, allocations: 7.938 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.3273, allocations: 366.6 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.3273, allocations: 0 / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-06/0.3273, allocations: 0 / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.3273, allocations: 0 / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.3273, allocations: 0 / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.3274, allocations: 7.969 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3274, allocations: 0 / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.499e-05/0.3274, allocations: 65.03 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.3275, allocations: 77.11 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.3275, allocations: 4 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.785e-05/0.3275, allocations: 7.922 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.131e-05/0.3275, allocations: 3.938 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.3276, allocations: 4.031 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.96e-05/0.3276, allocations: 107.2 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3276, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001935/0.3278, allocations: 12 kB / 1.092 GB, free: 13.46 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.0002595/0.3281, allocations: 127.8 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001067/0.3282, allocations: 23.98 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3282, allocations: 0 / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.995e-06/0.3282, allocations: 4 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.3284, allocations: 2.188 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002107/0.3286, allocations: 116.9 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.3289, allocations: 0.6807 MB / 1.092 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.036e-05/0.3289, allocations: 12.11 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.757e-05/0.3289, allocations: 15.5 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.3289, allocations: 0 / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of Templates: time 0.002665/0.3316, allocations: 0.5354 MB / 1.093 GB, free: 11.9 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