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: "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_10_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_10_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, 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.001085/0.001085, allocations: 194.7 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.372/1.372, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.466/2.466, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.00134, allocations: 67.89 kB / 0.8693 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5265/0.5278, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001689/0.5295, allocations: 0.5417 MB / 1.018 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000377/0.5299, allocations: 144.1 kB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.37e-05/0.53, allocations: 0 / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.614e-05/0.53, allocations: 3.938 kB / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.5302, allocations: 15.91 kB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.496e-05/0.5302, allocations: 23.92 kB / 1.018 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.834e-05/0.5303, allocations: 23.92 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.393e-05/0.5304, allocations: 3.984 kB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.341e-05/0.5304, allocations: 11.94 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003033/0.5307, allocations: 323.2 kB / 1.018 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.5307, allocations: 0 / 1.018 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.439e-05/0.5308, allocations: 12 kB / 1.018 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.5308, allocations: 11.92 kB / 1.018 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.361e-05/0.5308, allocations: 15.88 kB / 1.018 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.871e-05/0.5309, allocations: 35.89 kB / 1.019 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.5309, allocations: 0 / 1.019 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.213e-06/0.5309, allocations: 0 / 1.019 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.5309, allocations: 0 / 1.019 GB, free: 1.355 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.0002975/0.5313, allocations: 363.6 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.5313, allocations: 12.03 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.066e-05/0.5313, allocations: 30.75 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.668e-05/0.5314, allocations: 4.844 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.84e-05/0.5315, allocations: 176.3 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.5315, allocations: 4.375 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-06/0.5315, allocations: 4.375 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.5316, allocations: 57.55 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.5316, allocations: 0 / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.5316, allocations: 0 / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.5316, allocations: 7.938 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.37e-05/0.5317, allocations: 12 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003005/0.532, allocations: 276.9 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.251e-05/0.532, allocations: 18.58 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.406e-05/0.5321, allocations: 8.797 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.845e-06/0.5321, allocations: 0 / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.5321, allocations: 38.5 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.5321, allocations: 0 / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001213/0.5322, allocations: 37.67 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.5323, allocations: 59.39 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.5324, allocations: 142.9 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.5324, allocations: 25.7 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.5325, allocations: 95.95 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.069e-06/0.5325, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.5325, allocations: 29.83 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.984e-05/0.5326, allocations: 326.8 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.354e-05/0.5326, allocations: 4 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.408e-05/0.5327, allocations: 16.06 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.137e-05/0.5327, allocations: 24.84 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.5327, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001139/0.5328, allocations: 61.59 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.5329, allocations: 4 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.5329, allocations: 0 / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.5329, allocations: 8 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.841e-05/0.5329, allocations: 0 / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.5329, allocations: 0 / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.8e-05/0.533, allocations: 7.875 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.533, allocations: 11.92 kB / 1.02 GB, free: 15.3 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 6.102e-05/0.533, allocations: 113.8 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.5331, allocations: 3.906 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.17e-05/0.5331, allocations: 7.531 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.5331, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5331, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.5331, allocations: 11.92 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.5334, allocations: 358.8 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.5334, allocations: 3.938 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-06/0.5334, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.5334, allocations: 0 / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.5334, allocations: 3.938 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.5334, allocations: 3.938 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5334, allocations: 7.984 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.515e-05/0.5335, allocations: 65.06 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.845e-05/0.5335, allocations: 77.11 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.5335, allocations: 8 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.468e-05/0.5336, allocations: 4 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.747e-05/0.5336, allocations: 4 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.5336, allocations: 3.938 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.87e-05/0.5337, allocations: 99.95 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5337, allocations: 4.031 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002042/0.5339, allocations: 16 kB / 1.021 GB, free: 14.41 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.000403/0.5343, allocations: 0.6251 MB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.717e-05/0.5344, allocations: 27.92 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5344, allocations: 0 / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.123e-06/0.5344, allocations: 0 / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.5345, allocations: 8 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.5348, allocations: 142.7 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.535, allocations: 0.6807 MB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.846e-05/0.5351, allocations: 12.11 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/0.5351, allocations: 19.44 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5351, allocations: 0 / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01589/0.551, allocations: 1.559 MB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.084/7.635, allocations: 5.469 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Cryptographics_Validation_SHA1.fmu > Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches