Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmpAll",fileNamePrefix="Buildings_latest_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.001357/0.001357, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001552/0.001552, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.724/2.724, allocations: 436.5 MB / 0.7104 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003728, allocations: 8 kB / 0.8707 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8613/0.8617, allocations: 153.7 MB / 1.021 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.0007986/0.8625, allocations: 259.9 kB / 1.021 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004115/0.863, allocations: 132.2 kB / 1.021 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.691e-05/0.863, allocations: 7.938 kB / 1.021 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.549e-05/0.863, allocations: 0 / 1.021 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.8632, allocations: 11.94 kB / 1.021 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.397e-05/0.8633, allocations: 23.91 kB / 1.021 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.935e-05/0.8634, allocations: 11.98 kB / 1.021 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.462e-05/0.8634, allocations: 7.984 kB / 1.021 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.707e-05/0.8635, allocations: 7.938 kB / 1.021 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003698/0.8638, allocations: 279.3 kB / 1.022 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.8639, allocations: 0 / 1.022 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.422e-05/0.8639, allocations: 16 kB / 1.022 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.864, allocations: 11.92 kB / 1.022 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.29e-05/0.864, allocations: 29.64 kB / 1.022 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.6e-05/0.8641, allocations: 27.95 kB / 1.022 GB, free: 340 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.8641, allocations: 0 / 1.022 GB, free: 340 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.265e-06/0.8641, allocations: 0 / 1.022 GB, free: 340 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.8641, allocations: 0 / 1.022 GB, free: 340 kB / 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.0003714/0.8645, allocations: 345.1 kB / 1.022 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.8645, allocations: 12.03 kB / 1.022 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/0.8646, allocations: 0 / 1.022 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.8648, allocations: 175 kB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.8648, allocations: 0 / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.8648, allocations: 4 kB / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.865, allocations: 53.58 kB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.865, allocations: 0 / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.865, allocations: 0 / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.865, allocations: 4 kB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.67e-05/0.865, allocations: 15.98 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.8654, allocations: 276.9 kB / 1.022 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.967e-05/0.8655, allocations: 22.52 kB / 1.022 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.633e-06/0.8655, allocations: 0 / 1.022 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.8655, allocations: 34.62 kB / 1.022 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.8655, allocations: 0 / 1.022 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001479/0.8657, allocations: 33.61 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.8657, allocations: 51.41 kB / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.8658, allocations: 149.8 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.8659, allocations: 29.69 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.352e-05/0.8659, allocations: 96.05 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.499e-06/0.8659, allocations: 0 / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-06/0.866, allocations: 0 / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.8661, allocations: 326.8 kB / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.283e-05/0.8661, allocations: 7.938 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.956e-05/0.8661, allocations: 12 kB / 1.023 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.456e-05/0.8661, allocations: 8 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.8662, allocations: 7.984 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.969e-05/0.8663, allocations: 57.59 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.8663, allocations: 5.719 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.8663, allocations: 4 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.8663, allocations: 0 / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.215e-05/0.8663, allocations: 3.938 kB / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.8664, allocations: 0 / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.073e-05/0.8664, allocations: 15.88 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.8664, allocations: 0 / 1.023 GB, free: 14.41 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 (cmpAll,cmp1,cmp2,cmp3,cmp4,cmp5) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.056e-05/0.8665, allocations: 123.8 kB / 1.023 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.8665, allocations: 11.89 kB / 1.023 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.128e-05/0.8665, allocations: 11.53 kB / 1.023 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.8665, allocations: 0 / 1.023 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.8666, allocations: 0 / 1.023 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.8666, allocations: 0 / 1.023 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.8668, allocations: 358.7 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.8668, allocations: 0 / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.506e-06/0.8668, allocations: 0 / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.8668, allocations: 4.031 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.8668, allocations: 4 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.8669, allocations: 0 / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.8669, allocations: 0 / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.913e-05/0.8669, allocations: 69.02 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.746e-05/0.867, allocations: 81.02 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.867, allocations: 3.984 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.656e-05/0.867, allocations: 12.02 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.131e-05/0.867, allocations: 4 kB / 1.024 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-06/0.8671, allocations: 0 / 1.024 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.75e-05/0.8671, allocations: 100.7 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8671, allocations: 0 / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002202/0.8674, allocations: 15.98 kB / 1.024 GB, free: 13.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002764/0.8676, allocations: 124 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.402e-05/0.8677, allocations: 27.92 kB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8677, allocations: 0 / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.776e-05/0.8678, allocations: 3.938 kB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001085/0.8679, allocations: 7.953 kB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002491/0.8681, allocations: 122.8 kB / 1.024 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.8684, allocations: 0.6848 MB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.934e-05/0.8685, allocations: 8.125 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.8685, allocations: 11.44 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.8685, allocations: 0 / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of Templates: time 0.002816/0.8713, allocations: 0.5064 MB / 1.025 GB, free: 11.97 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile (rm -f Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & ./Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","../files/Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches