Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_latest_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.001282/0.001282, 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.001254/0.001254, allocations: 197.2 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.257/1.257, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.537/2.537, allocations: 461.8 MB / 0.7342 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 64.58 kB / 0.8985 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2316, allocations: 157.4 MB / 1.052 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001506/0.2331, allocations: 0.591 MB / 1.053 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003569/0.2335, allocations: 148.2 kB / 1.053 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.175e-05/0.2335, allocations: 7.938 kB / 1.053 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.373e-05/0.2336, allocations: 0 / 1.053 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.2337, allocations: 11.92 kB / 1.053 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.509e-05/0.2338, allocations: 19.98 kB / 1.053 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.169e-05/0.2338, allocations: 19.92 kB / 1.053 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.269e-05/0.2339, allocations: 4 kB / 1.053 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.238e-05/0.2339, allocations: 19.91 kB / 1.053 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003109/0.2342, allocations: 319.4 kB / 1.053 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.2342, allocations: 4 kB / 1.053 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.219e-05/0.2343, allocations: 19.98 kB / 1.053 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/0.2343, allocations: 15.92 kB / 1.053 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.198e-05/0.2343, allocations: 11.88 kB / 1.053 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.676e-05/0.2344, allocations: 35.89 kB / 1.053 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2344, allocations: 0 / 1.053 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.31e-07/0.2344, allocations: 0 / 1.053 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2344, allocations: 4 kB / 1.053 GB, free: 7.043 MB / 0.8106 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.0002756/0.2347, allocations: 347.7 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.2348, allocations: 11.98 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.105e-05/0.2348, allocations: 34.75 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.541e-05/0.2348, allocations: 8.844 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.643e-05/0.2349, allocations: 180.2 kB / 1.054 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.2349, allocations: 384 / 1.054 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.2349, allocations: 4.375 kB / 1.054 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.2351, allocations: 53.61 kB / 1.054 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.5e-06/0.2351, allocations: 0 / 1.054 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.2351, allocations: 3.984 kB / 1.054 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.2351, allocations: 4 kB / 1.054 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.604e-05/0.2351, allocations: 19.98 kB / 1.054 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002816/0.2354, allocations: 276.8 kB / 1.054 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.813e-05/0.2355, allocations: 26.5 kB / 1.054 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.419e-05/0.2355, allocations: 4.859 kB / 1.054 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.2355, allocations: 4.062 kB / 1.054 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.2355, allocations: 30.56 kB / 1.054 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.2355, allocations: 0 / 1.054 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001176/0.2357, allocations: 33.7 kB / 1.054 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.2357, allocations: 55.53 kB / 1.054 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.2358, allocations: 143.9 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.2358, allocations: 25.7 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.2359, allocations: 104 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.43e-06/0.2359, allocations: 4 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.2359, allocations: 25.7 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.343e-05/0.236, allocations: 318.8 kB / 1.055 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.513e-05/0.236, allocations: 11.98 kB / 1.055 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.233e-05/0.2361, allocations: 12 kB / 1.055 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.403e-05/0.2361, allocations: 16.86 kB / 1.055 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2361, allocations: 0 / 1.055 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001023/0.2362, allocations: 65.59 kB / 1.055 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.2362, allocations: 4 kB / 1.055 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2362, allocations: 7.922 kB / 1.055 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.2363, allocations: 3.938 kB / 1.055 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.866e-05/0.2363, allocations: 7.938 kB / 1.055 GB, free: 5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.2363, allocations: 0 / 1.055 GB, free: 5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.55e-05/0.2363, allocations: 3.938 kB / 1.055 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.2363, allocations: 8 kB / 1.055 GB, free: 4.988 MB / 0.8106 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.119e-05/0.2364, allocations: 109.8 kB / 1.055 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.2364, allocations: 7.906 kB / 1.055 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.724e-05/0.2365, allocations: 7.516 kB / 1.055 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.2365, allocations: 0 / 1.055 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.2365, allocations: 0 / 1.055 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.2365, allocations: 7.938 kB / 1.055 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.2367, allocations: 362.7 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2367, allocations: 192 / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.591e-06/0.2367, allocations: 4 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2367, allocations: 0 / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-06/0.2368, allocations: 3.938 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2368, allocations: 0 / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2368, allocations: 0 / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.954e-05/0.2368, allocations: 65.08 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/0.2369, allocations: 77.11 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.2369, allocations: 11.92 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.279e-05/0.2369, allocations: 0 / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/0.2369, allocations: 0 / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.2369, allocations: 0 / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.664e-05/0.237, allocations: 103.3 kB / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.237, allocations: 3.938 kB / 1.056 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001936/0.2372, allocations: 12 kB / 1.056 GB, free: 4.121 MB / 0.8106 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.0003828/0.2376, allocations: 0.6268 MB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.675e-05/0.2377, allocations: 23.92 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.2377, allocations: 4.031 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.477e-06/0.2377, allocations: 7.938 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.2378, allocations: 0 / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002924/0.2381, allocations: 160.3 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.2383, allocations: 0.677 MB / 1.057 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.766e-05/0.2383, allocations: 16.19 kB / 1.057 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.2384, allocations: 15.42 kB / 1.057 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.2384, allocations: 0 / 1.057 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3052/0.5436, allocations: 1.45 MB / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000248/0.5439, allocations: 255.6 kB / 1.059 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.784/2.328, allocations: 3.938 kB / 1.059 GB, free: 0.8984 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Cryptographics_Validation_SHA1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Cryptographics_Validation_SHA1.fmu > Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches