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.001346/0.001346, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001486/0.001486, allocations: 193.7 kB / 16.14 MB, free: 6.699 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.392/1.392, allocations: 222.9 MB / 239.8 MB, free: 4.566 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.45/2.45, allocations: 390.2 MB / 0.6642 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.91 kB / 0.8118 GB, free: 14.95 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7561/0.7574, allocations: 140.4 MB / 0.9489 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.00259/0.7601, allocations: 0.5917 MB / 0.9495 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005931/0.7607, allocations: 151 kB / 0.9496 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.583e-05/0.7607, allocations: 1.188 kB / 0.9496 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.099e-05/0.7608, allocations: 7.938 kB / 0.9496 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001943/0.761, allocations: 6.344 kB / 0.9496 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.259e-05/0.7611, allocations: 15.11 kB / 0.9496 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.505e-05/0.7612, allocations: 35 kB / 0.9497 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.163e-05/0.7613, allocations: 2.156 kB / 0.9497 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.733e-05/0.7613, allocations: 9.406 kB / 0.9497 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000481/0.7618, allocations: 320.4 kB / 0.95 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.7618, allocations: 2.781 kB / 0.95 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.786e-05/0.7619, allocations: 20.58 kB / 0.95 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.7619, allocations: 1.531 kB / 0.95 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.268e-05/0.762, allocations: 20 kB / 0.95 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.7621, allocations: 43.25 kB / 0.9501 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7621, allocations: 0 / 0.9501 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7621, allocations: 0 / 0.9501 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.7622, allocations: 0 / 0.9501 GB, free: 8.328 MB / 0.7169 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.0003378/0.7625, allocations: 346.9 kB / 0.9504 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.7626, allocations: 13.39 kB / 0.9504 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/0.7626, allocations: 7.656 kB / 0.9504 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.875e-05/0.7627, allocations: 167 kB / 0.9506 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.7628, allocations: 5.969 kB / 0.9506 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.7628, allocations: 5.969 kB / 0.9506 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.763, allocations: 55.73 kB / 0.9507 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.763, allocations: 0 / 0.9507 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.763, allocations: 0 / 0.9507 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.763, allocations: 1.312 kB / 0.9507 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.456e-05/0.7631, allocations: 13.5 kB / 0.9507 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003624/0.7635, allocations: 276.2 kB / 0.9509 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.183e-05/0.7635, allocations: 19.95 kB / 0.951 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.247e-05/0.7636, allocations: 10.17 kB / 0.951 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.296e-06/0.7636, allocations: 1.375 kB / 0.951 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.7636, allocations: 30.56 kB / 0.951 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.503e-06/0.7636, allocations: 0 / 0.951 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001739/0.7638, allocations: 44.47 kB / 0.951 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.7638, allocations: 52.78 kB / 0.9511 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.764, allocations: 142.8 kB / 0.9512 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.715e-06/0.764, allocations: 25.7 kB / 0.9512 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.994e-05/0.7641, allocations: 90.8 kB / 0.9513 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.086e-06/0.7641, allocations: 9.219 kB / 0.9513 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/0.7642, allocations: 25.95 kB / 0.9514 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.526e-05/0.7642, allocations: 324.1 kB / 0.9517 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.106e-05/0.7643, allocations: 13.44 kB / 0.9517 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.856e-05/0.7643, allocations: 10.86 kB / 0.9517 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.269e-05/0.7644, allocations: 21.11 kB / 0.9517 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7644, allocations: 3.938 kB / 0.9517 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001699/0.7646, allocations: 66.34 kB / 0.9518 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.7646, allocations: 5.5 kB / 0.9518 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.7646, allocations: 0 / 0.9518 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.7646, allocations: 1.375 kB / 0.9518 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.949e-05/0.7647, allocations: 5.312 kB / 0.9518 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.7647, allocations: 1.375 kB / 0.9518 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.437e-05/0.7647, allocations: 5.312 kB / 0.9518 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.7648, allocations: 9.297 kB / 0.9518 GB, free: 6.508 MB / 0.7169 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.89e-05/0.7648, allocations: 120.5 kB / 0.9519 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.7649, allocations: 6.656 kB / 0.9519 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.549e-05/0.7649, allocations: 4.906 kB / 0.9519 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.765, allocations: 3.984 kB / 0.9519 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.765, allocations: 1.375 kB / 0.9519 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.765, allocations: 0 / 0.9519 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.7653, allocations: 363.1 kB / 0.9523 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.7653, allocations: 4.031 kB / 0.9523 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.663e-06/0.7653, allocations: 3.938 kB / 0.9523 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.7653, allocations: 1.375 kB / 0.9523 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.7653, allocations: 0 / 0.9523 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.7653, allocations: 3.938 kB / 0.9523 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7654, allocations: 1.375 kB / 0.9523 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.959e-05/0.7654, allocations: 64 kB / 0.9524 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.275e-05/0.7655, allocations: 82.39 kB / 0.9524 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.7655, allocations: 5.406 kB / 0.9525 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.38e-05/0.7655, allocations: 3.938 kB / 0.9525 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.806e-05/0.7656, allocations: 1.375 kB / 0.9525 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.7656, allocations: 1.375 kB / 0.9525 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.49e-05/0.7657, allocations: 106 kB / 0.9526 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.263e-06/0.7657, allocations: 1.375 kB / 0.9526 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003497/0.766, allocations: 16.19 kB / 0.9526 GB, free: 5.676 MB / 0.7169 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.0002748/0.7663, allocations: 132.5 kB / 0.9527 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001198/0.7665, allocations: 25.67 kB / 0.9527 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7665, allocations: 0 / 0.9527 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.558e-05/0.7665, allocations: 2.75 kB / 0.9527 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.7667, allocations: 5.375 kB / 0.9527 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002457/0.767, allocations: 120.7 kB / 0.9528 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.7671, allocations: 0.6797 MB / 0.9535 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.47e-05/0.7672, allocations: 9.609 kB / 0.9535 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.319e-05/0.7672, allocations: 12.5 kB / 0.9535 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.7672, allocations: 0 / 0.9535 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of Templates: time 0.003661/0.7709, allocations: 0.5305 MB / 0.9541 GB, free: 4.426 MB / 0.7169 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