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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001493/0.001493, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001693/0.001694, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.265/1.265, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.416/2.416, allocations: 437 MB / 0.71 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.91 kB / 0.8686 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4696/0.4709, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001552/0.4725, allocations: 0.5888 MB / 1.017 GB, free: 2.176 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003896/0.4729, allocations: 156 kB / 1.017 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.239e-05/0.4729, allocations: 0 / 1.017 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.4729, allocations: 7.938 kB / 1.017 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.4731, allocations: 4 kB / 1.017 GB, free: 2.008 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.71e-05/0.4732, allocations: 27.91 kB / 1.017 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.081e-05/0.4732, allocations: 15.98 kB / 1.017 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.669e-05/0.4732, allocations: 4 kB / 1.017 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.896e-05/0.4733, allocations: 7.938 kB / 1.018 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003197/0.4736, allocations: 320.2 kB / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.4736, allocations: 7.938 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.965e-05/0.4737, allocations: 15.98 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.054e-05/0.4737, allocations: 0 / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.4737, allocations: 23.86 kB / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.98e-05/0.4738, allocations: 35.89 kB / 1.018 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.4738, allocations: 0 / 1.018 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.91e-07/0.4738, allocations: 0 / 1.018 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.4738, allocations: 0 / 1.018 GB, free: 1.582 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.0002766/0.4741, allocations: 357.7 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.4741, allocations: 11.97 kB / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.643e-05/0.4742, allocations: 34.69 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.56e-05/0.4742, allocations: 8.844 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.986e-05/0.4743, allocations: 168.3 kB / 1.018 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.4743, allocations: 4.375 kB / 1.018 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.4743, allocations: 4.375 kB / 1.018 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.4744, allocations: 61.55 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.4745, allocations: 0 / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-06/0.4745, allocations: 0 / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.4745, allocations: 0 / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.55e-05/0.4745, allocations: 19.98 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002778/0.4748, allocations: 268.9 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.128e-05/0.4749, allocations: 22.58 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.339e-05/0.4749, allocations: 4.859 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 6.762e-06/0.4749, allocations: 3.984 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.4749, allocations: 42.55 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.383e-06/0.4749, allocations: 0 / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001148/0.475, allocations: 33.61 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.4751, allocations: 55.53 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.94e-05/0.4752, allocations: 149.7 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.4752, allocations: 25.7 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.4752, allocations: 96.03 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 4.258e-06/0.4752, allocations: 0 / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.4753, allocations: 25.72 kB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.603e-05/0.4754, allocations: 322.8 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.294e-05/0.4754, allocations: 4 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.56e-05/0.4754, allocations: 19.92 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.483e-05/0.4755, allocations: 20.86 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.4755, allocations: 0 / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001022/0.4756, allocations: 61.59 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.4756, allocations: 8 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.4756, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.186e-06/0.4756, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.879e-05/0.4757, allocations: 3.984 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.4757, allocations: 4 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.789e-05/0.4757, allocations: 7.875 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.4757, allocations: 3.938 kB / 1.02 GB, free: 15.54 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.731e-05/0.4758, allocations: 121.8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.4758, allocations: 11.84 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.468e-05/0.4758, allocations: 3.531 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.4758, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.4758, allocations: 4.172 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.4759, allocations: 3.938 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.4761, allocations: 358.8 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4761, allocations: 4.031 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.957e-06/0.4761, allocations: 4 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.4761, allocations: 0 / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.4761, allocations: 7.922 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4761, allocations: 0 / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4761, allocations: 3.938 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.709e-05/0.4762, allocations: 61.05 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.603e-05/0.4762, allocations: 77.11 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.4763, allocations: 7.969 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.286e-05/0.4763, allocations: 4 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/0.4763, allocations: 7.984 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.4763, allocations: 0 / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.509e-05/0.4764, allocations: 100.8 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4764, allocations: 0 / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001979/0.4766, allocations: 12 kB / 1.02 GB, free: 14.65 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.000387/0.477, allocations: 0.6301 MB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.937e-05/0.477, allocations: 23.92 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.4771, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.606e-06/0.4771, allocations: 8.031 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.4772, allocations: 0 / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002869/0.4775, allocations: 168.3 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.4777, allocations: 0.6809 MB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.742e-05/0.4777, allocations: 12.06 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.4778, allocations: 23.48 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.4778, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2509/0.7286, allocations: 1.448 MB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/0.7288, allocations: 247.6 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/2.35, allocations: 0 / 1.024 GB, free: 11.42 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