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.001188/0.001188, allocations: 111.9 kB / 15.61 MB, free: 128 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.001171/0.001171, allocations: 196.5 kB / 16.54 MB, free: 6.668 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.287/1.287, 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.335/2.335, allocations: 437 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 59.91 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5311/0.5324, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001696/0.5341, allocations: 0.5185 MB / 1.018 GB, free: 1.973 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003765/0.5345, allocations: 156 kB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.508e-05/0.5346, allocations: 0 / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.773e-05/0.5346, allocations: 7.938 kB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.5348, allocations: 3.938 kB / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.922e-05/0.5349, allocations: 23.92 kB / 1.018 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.258e-05/0.5349, allocations: 31.84 kB / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.535, allocations: 4 kB / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.196e-05/0.535, allocations: 11.92 kB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002901/0.5353, allocations: 329.8 kB / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.5353, allocations: 4 kB / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.545e-05/0.5354, allocations: 16 kB / 1.018 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.5354, allocations: 3.938 kB / 1.018 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.5354, allocations: 19.86 kB / 1.018 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.637e-05/0.5355, allocations: 35.89 kB / 1.019 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.5355, allocations: 0 / 1.019 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.82e-07/0.5355, allocations: 0 / 1.019 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.5355, allocations: 0 / 1.019 GB, free: 1.359 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.0002784/0.5358, allocations: 365.6 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.5359, allocations: 8.031 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.843e-05/0.5359, allocations: 34.75 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.553e-05/0.5359, allocations: 8.844 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.536, allocations: 176.2 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.136e-06/0.536, allocations: 4.312 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/0.5361, allocations: 4.375 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.5362, allocations: 49.62 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.5362, allocations: 0 / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.5362, allocations: 0 / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.5362, allocations: 0 / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.414e-05/0.5362, allocations: 19.98 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002839/0.5365, allocations: 280.8 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.146e-05/0.5366, allocations: 22.52 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.748e-05/0.5366, allocations: 4.859 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 5.741e-06/0.5366, allocations: 0 / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/0.5366, allocations: 34.62 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 7.12e-07/0.5366, allocations: 0 / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001154/0.5368, allocations: 41.55 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.5368, allocations: 55.41 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.5369, allocations: 147.1 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.5369, allocations: 25.7 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.849e-05/0.537, allocations: 95.95 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.268e-06/0.537, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/0.537, allocations: 29.7 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.248e-05/0.5371, allocations: 322.9 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.316e-05/0.5371, allocations: 7.984 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.218e-05/0.5372, allocations: 12 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.437e-05/0.5372, allocations: 20.84 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5372, allocations: 128 / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001003/0.5373, allocations: 69.53 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.5373, allocations: 8 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.5374, allocations: 0 / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.5374, allocations: 0 / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.634e-05/0.5374, allocations: 0 / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.5374, allocations: 8 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.61e-05/0.5374, allocations: 7.875 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.5374, allocations: 0 / 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 5.527e-05/0.5375, allocations: 113.8 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.5375, allocations: 11.89 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.626e-05/0.5376, allocations: 3.531 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.5376, allocations: 0 / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.5376, allocations: 0 / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.5376, allocations: 3.938 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.5378, allocations: 366.7 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/0.5378, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.911e-06/0.5378, allocations: 4 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.5378, allocations: 7.875 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.5379, allocations: 3.938 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.5379, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5379, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.14e-05/0.5379, allocations: 65.06 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.048e-05/0.538, allocations: 77.11 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.538, allocations: 11.92 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.306e-05/0.538, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.879e-05/0.538, allocations: 7.938 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/0.538, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.251e-05/0.5381, allocations: 100.4 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5381, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001954/0.5383, allocations: 15.98 kB / 1.021 GB, free: 14.42 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.000397/0.5387, allocations: 0.6229 MB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.219e-05/0.5388, allocations: 27.91 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.5388, allocations: 0 / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.757e-06/0.5388, allocations: 4 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/0.539, allocations: 3.984 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/0.5392, allocations: 142.7 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001855/0.5394, allocations: 0.6846 MB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.563e-05/0.5395, allocations: 7.984 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.5395, allocations: 15.44 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.5395, allocations: 4 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2904/0.8299, allocations: 1.567 MB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.194/8.024, allocations: 12.31 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Cryptographics_Validation_SHA1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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