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.001291/0.001291, 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.001258/0.001258, allocations: 192 kB / 16.25 MB, free: 6.637 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.298/1.298, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.42/2.42, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 63.89 kB / 0.8688 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4886/0.4898, allocations: 151.6 MB / 1.017 GB, free: 2.664 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001488/0.4913, allocations: 0.5954 MB / 1.017 GB, free: 2.074 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003196/0.4916, allocations: 144 kB / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.026e-05/0.4916, allocations: 0 / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.578e-05/0.4917, allocations: 0 / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001554/0.4918, allocations: 19.92 kB / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.282e-05/0.4919, allocations: 15.98 kB / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.968e-05/0.4919, allocations: 27.86 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/0.492, allocations: 0 / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.214e-05/0.492, allocations: 19.92 kB / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002807/0.4923, allocations: 325.7 kB / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.4923, allocations: 0 / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 4.761e-05/0.4924, allocations: 11.98 kB / 1.018 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.4924, allocations: 15.92 kB / 1.018 GB, free: 1.531 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.95e-05/0.4924, allocations: 11.88 kB / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.865e-05/0.4925, allocations: 35.89 kB / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.4925, allocations: 0 / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4925, allocations: 0 / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.4925, allocations: 0 / 1.018 GB, free: 1.484 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.0002632/0.4928, allocations: 361.6 kB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.4928, allocations: 12.03 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.999e-05/0.4929, allocations: 34.69 kB / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.336e-05/0.4929, allocations: 4.844 kB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.695e-05/0.493, allocations: 172.2 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.493, allocations: 8.375 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-06/0.493, allocations: 384 / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.4931, allocations: 53.61 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.4931, allocations: 0 / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.4932, allocations: 7.984 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.4932, allocations: 0 / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.311e-05/0.4932, allocations: 23.86 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000265/0.4935, allocations: 276.9 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.08e-05/0.4935, allocations: 18.58 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.371e-05/0.4935, allocations: 8.844 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 5.621e-06/0.4935, allocations: 0 / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.4936, allocations: 34.56 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.4936, allocations: 0 / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001098/0.4937, allocations: 45.61 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.4937, allocations: 51.41 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.314e-05/0.4938, allocations: 143.9 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.4938, allocations: 25.7 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 4.895e-05/0.4939, allocations: 99.94 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.038e-06/0.4939, allocations: 0 / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.4939, allocations: 29.83 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.798e-05/0.494, allocations: 322.8 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.331e-05/0.494, allocations: 11.98 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.875e-05/0.4941, allocations: 8 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.069e-05/0.4941, allocations: 16.86 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4941, allocations: 0 / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.328e-05/0.4942, allocations: 65.72 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.4942, allocations: 4 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4942, allocations: 7.984 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.4942, allocations: 8 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.59e-05/0.4943, allocations: 0 / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.4943, allocations: 0 / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.472e-05/0.4943, allocations: 11.88 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.4943, allocations: 0 / 1.02 GB, free: 15.43 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.4944, allocations: 113.8 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.4944, allocations: 3.906 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.655e-05/0.4944, allocations: 11.52 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.4944, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.4944, allocations: 4 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.4944, allocations: 7.875 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.4947, allocations: 354.8 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.4947, allocations: 3.984 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.626e-06/0.4947, allocations: 7.875 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.4947, allocations: 0 / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.4947, allocations: 3.938 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4947, allocations: 4 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.4947, allocations: 4.031 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.863e-05/0.4948, allocations: 64.98 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.5e-05/0.4948, allocations: 77.11 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.4948, allocations: 7.922 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.358e-05/0.4948, allocations: 4 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.542e-05/0.4949, allocations: 4 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-06/0.4949, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.209e-05/0.4949, allocations: 104.3 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4949, allocations: 4 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001799/0.4951, allocations: 8 kB / 1.021 GB, free: 14.54 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.0003692/0.4955, allocations: 0.6195 MB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.327e-05/0.4956, allocations: 35.86 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4956, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.462e-06/0.4956, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.4957, allocations: 9.25 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000265/0.496, allocations: 158.8 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.4962, allocations: 0.6807 MB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.398e-05/0.4962, allocations: 4 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.4962, allocations: 19.42 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of SimCode: time 1.91e-07/0.4962, allocations: 0 / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9673/1.464, allocations: 1.481 MB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/1.464, allocations: 254.8 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/3.184, allocations: 0 / 1.024 GB, free: 11.31 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