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.001384/0.001384, allocations: 108 kB / 15.6 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.001623/0.001623, allocations: 194 kB / 16.53 MB, free: 6.391 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.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.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.549/2.549, allocations: 437 MB / 0.7104 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001959, allocations: 63.91 kB / 0.8692 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6473/0.6493, allocations: 151.6 MB / 1.017 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001873/0.6512, allocations: 0.5334 MB / 1.018 GB, free: 2 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004055/0.6516, allocations: 140.1 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.628e-05/0.6517, allocations: 0 / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.757e-05/0.6517, allocations: 3.938 kB / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.6519, allocations: 19.92 kB / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 7.338e-05/0.652, allocations: 27.91 kB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.426e-05/0.652, allocations: 23.88 kB / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.388e-05/0.6521, allocations: 7.984 kB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.422e-05/0.6521, allocations: 11.94 kB / 1.018 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003463/0.6525, allocations: 328.5 kB / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.6525, allocations: 0 / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.924e-05/0.6526, allocations: 12 kB / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.479e-05/0.6526, allocations: 7.938 kB / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.817e-05/0.6526, allocations: 19.84 kB / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.6527, allocations: 35.91 kB / 1.018 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.6527, allocations: 4 kB / 1.018 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6528, allocations: 0 / 1.018 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.6528, allocations: 3.984 kB / 1.018 GB, free: 1.391 MB / 0.7637 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.0003614/0.6531, allocations: 353.3 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/0.6532, allocations: 12.03 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/0.6532, allocations: 4.844 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.6534, allocations: 176.2 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.6534, allocations: 4.375 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.6534, allocations: 384 / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.6535, allocations: 61.8 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.6536, allocations: 0 / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.6536, allocations: 0 / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.6536, allocations: 0 / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.668e-05/0.6536, allocations: 19.92 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.654, allocations: 276.9 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.297e-05/0.6541, allocations: 22.52 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.829e-05/0.6541, allocations: 12.92 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 6.222e-06/0.6541, allocations: 0 / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.417e-05/0.6541, allocations: 30.56 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.6541, allocations: 0 / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001394/0.6543, allocations: 41.55 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.6543, allocations: 51.41 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.6544, allocations: 146.9 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.6545, allocations: 29.83 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/0.6546, allocations: 99.94 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.28e-06/0.6546, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.179e-05/0.6546, allocations: 25.7 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.6547, allocations: 318.8 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.6e-05/0.6548, allocations: 11.98 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.173e-05/0.6548, allocations: 8 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.6e-05/0.6548, allocations: 16.86 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.6548, allocations: 7.938 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001255/0.655, allocations: 73.52 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.655, allocations: 4 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.655, allocations: 0 / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.655, allocations: 0 / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.013e-05/0.655, allocations: 4 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.655, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.68e-05/0.6551, allocations: 3.938 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.6551, allocations: 7.938 kB / 1.02 GB, free: 15.38 MB / 0.7794 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 7.174e-05/0.6552, allocations: 113.8 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.6552, allocations: 7.906 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.171e-05/0.6552, allocations: 11.52 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.6552, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.6552, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.6552, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.6555, allocations: 362.6 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.6555, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.761e-06/0.6555, allocations: 4.125 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.6556, allocations: 8.031 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.6556, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.6556, allocations: 3.938 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.6556, allocations: 4 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.561e-05/0.6557, allocations: 57.05 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.234e-05/0.6557, allocations: 85.09 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.6557, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.514e-05/0.6557, allocations: 3.938 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.6558, allocations: 7.969 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.6558, allocations: 4 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.94e-05/0.6558, allocations: 101.2 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6559, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002093/0.6561, allocations: 19.98 kB / 1.021 GB, free: 14.5 MB / 0.7794 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.0002454/0.6563, allocations: 120.3 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.553e-05/0.6564, allocations: 23.98 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.6564, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.123e-06/0.6564, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.6566, allocations: 5.406 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002367/0.6568, allocations: 117.1 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.6571, allocations: 0.6807 MB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.055e-05/0.6571, allocations: 8.125 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.6572, allocations: 11.44 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.6572, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of Templates: time 0.002592/0.6598, allocations: 0.5373 MB / 1.022 GB, free: 12.95 MB / 0.7794 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches