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.001732/0.001733, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001999/0.001999, allocations: 191.3 kB / 16.25 MB, free: 6.645 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.583/1.583, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.729/2.729, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 59.91 kB / 0.8687 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6321/0.6342, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001999/0.6362, allocations: 0.577 MB / 1.017 GB, free: 2.16 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004453/0.6367, allocations: 148.1 kB / 1.018 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.751e-05/0.6367, allocations: 0 / 1.018 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.025e-05/0.6368, allocations: 0 / 1.018 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.637, allocations: 15.92 kB / 1.018 GB, free: 1.996 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 7.323e-05/0.6371, allocations: 19.98 kB / 1.018 GB, free: 1.977 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.408e-05/0.6372, allocations: 27.86 kB / 1.018 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.588e-05/0.6372, allocations: 7.938 kB / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.127e-05/0.6373, allocations: 19.91 kB / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004737/0.6377, allocations: 322.6 kB / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.6378, allocations: 4 kB / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.16e-05/0.6378, allocations: 8 kB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.6379, allocations: 11.92 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.473e-05/0.6379, allocations: 23.86 kB / 1.018 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.638, allocations: 31.91 kB / 1.018 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.638, allocations: 0 / 1.018 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.405e-06/0.638, allocations: 0 / 1.018 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.258e-06/0.6381, allocations: 4 kB / 1.018 GB, free: 1.551 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.0004877/0.6385, allocations: 349.3 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.6386, allocations: 8.031 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.6386, allocations: 8.844 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.6388, allocations: 172.2 kB / 1.018 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.6389, allocations: 384 / 1.018 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-06/0.6389, allocations: 4.375 kB / 1.018 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.639, allocations: 57.8 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.639, allocations: 0 / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-06/0.6391, allocations: 0 / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.6391, allocations: 0 / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.175e-05/0.6391, allocations: 19.98 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.6396, allocations: 276.8 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.202e-05/0.6396, allocations: 26.52 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.967e-05/0.6396, allocations: 8.844 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 6.743e-06/0.6396, allocations: 0 / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.6397, allocations: 34.62 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 2.816e-06/0.6397, allocations: 3.984 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001506/0.6398, allocations: 37.55 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.6399, allocations: 51.41 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.64, allocations: 147.7 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.6401, allocations: 29.7 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 7.055e-05/0.6401, allocations: 103.9 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 5.981e-06/0.6402, allocations: 0 / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.6402, allocations: 25.7 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.6404, allocations: 322.8 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.482e-05/0.6404, allocations: 4 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.593e-05/0.6404, allocations: 15.98 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.029e-05/0.6405, allocations: 16.86 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6405, allocations: 4 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001249/0.6406, allocations: 65.72 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.6406, allocations: 8 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.6407, allocations: 4 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.6407, allocations: 3.984 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.176e-05/0.6407, allocations: 0 / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.6407, allocations: 0 / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.909e-05/0.6408, allocations: 7.938 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.6408, allocations: 3.938 kB / 1.02 GB, free: 15.55 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 9.002e-05/0.6409, allocations: 117.8 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.6409, allocations: 3.906 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.001e-05/0.6409, allocations: 11.52 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.6409, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.6409, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.6409, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003501/0.6413, allocations: 362.7 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.6413, allocations: 0 / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.666e-06/0.6413, allocations: 3.984 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.6413, allocations: 8.031 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.6413, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.6414, allocations: 7.875 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.6414, allocations: 0 / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.975e-05/0.6415, allocations: 60.98 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.737e-05/0.6415, allocations: 77.11 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.6415, allocations: 3.984 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.704e-05/0.6416, allocations: 15.91 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/0.6416, allocations: 8 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.6416, allocations: 0 / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001502/0.6418, allocations: 100.4 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6418, allocations: 0 / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000207/0.642, allocations: 16 kB / 1.02 GB, free: 14.66 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.000309/0.6423, allocations: 117.2 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001121/0.6424, allocations: 24 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6424, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.347e-05/0.6424, allocations: 11.92 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.6426, allocations: 4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/0.6429, allocations: 117.1 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.6432, allocations: 0.6846 MB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.813e-05/0.6433, allocations: 4 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.021e-05/0.6433, allocations: 11.44 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.6433, allocations: 0 / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of Templates: time 0.003084/0.6464, allocations: 0.539 MB / 1.022 GB, free: 13.1 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=400 -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