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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007851/0.007851, allocations: 101.4 kB / 15.73 MB, free: 6.023 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.002037/0.002037, allocations: 187.7 kB / 16.67 MB, free: 5.961 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.765/2.765, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 64.11 kB / 1.054 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3082, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001649/0.3099, allocations: 0.5243 MB / 1.208 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004305/0.3104, allocations: 148 kB / 1.208 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.047e-05/0.3104, allocations: 0 / 1.208 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.978e-05/0.3104, allocations: 3.938 kB / 1.208 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.3106, allocations: 15.92 kB / 1.208 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 7.699e-05/0.3107, allocations: 23.92 kB / 1.208 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.936e-05/0.3108, allocations: 31.84 kB / 1.208 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.672e-05/0.3109, allocations: 4 kB / 1.208 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.482e-05/0.3109, allocations: 11.94 kB / 1.208 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003557/0.3113, allocations: 309.1 kB / 1.208 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.3113, allocations: 4 kB / 1.208 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.391e-05/0.3113, allocations: 8 kB / 1.208 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.3114, allocations: 11.92 kB / 1.208 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.654e-05/0.3114, allocations: 19.86 kB / 1.208 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.3115, allocations: 35.89 kB / 1.208 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3115, allocations: 4 kB / 1.208 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.856e-06/0.3115, allocations: 4 kB / 1.208 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.3116, allocations: 0 / 1.208 GB, free: 9.035 MB / 0.9669 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.0003146/0.3119, allocations: 343.6 kB / 1.209 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3119, allocations: 8.031 kB / 1.209 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.437e-05/0.312, allocations: 38.73 kB / 1.209 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/0.312, allocations: 8.844 kB / 1.209 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.3121, allocations: 172.3 kB / 1.209 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.3122, allocations: 8.375 kB / 1.209 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.3122, allocations: 4.375 kB / 1.209 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.3123, allocations: 53.55 kB / 1.209 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3123, allocations: 0 / 1.209 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.3123, allocations: 3.938 kB / 1.209 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.3124, allocations: 4 kB / 1.209 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.121e-05/0.3124, allocations: 15.98 kB / 1.209 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.3128, allocations: 276.8 kB / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.164e-05/0.3128, allocations: 26.5 kB / 1.209 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.922e-05/0.3129, allocations: 8.922 kB / 1.209 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.783e-06/0.3129, allocations: 0 / 1.209 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.3129, allocations: 30.56 kB / 1.209 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.3129, allocations: 0 / 1.209 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001639/0.3131, allocations: 45.59 kB / 1.209 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.3131, allocations: 51.53 kB / 1.209 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.3133, allocations: 144.5 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.3133, allocations: 25.7 kB / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.3133, allocations: 91.98 kB / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.945e-06/0.3134, allocations: 7.906 kB / 1.21 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.703e-05/0.3134, allocations: 25.7 kB / 1.21 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.3136, allocations: 326.7 kB / 1.21 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.91e-05/0.3136, allocations: 12 kB / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.382e-05/0.3136, allocations: 7.984 kB / 1.21 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.914e-05/0.3137, allocations: 20.86 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3137, allocations: 0 / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001127/0.3138, allocations: 61.69 kB / 1.21 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.3138, allocations: 4 kB / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3138, allocations: 0 / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3138, allocations: 0 / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.872e-05/0.3139, allocations: 12.11 kB / 1.21 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3139, allocations: 0 / 1.21 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.21e-05/0.3139, allocations: 11.84 kB / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.3139, allocations: 8 kB / 1.21 GB, free: 6.984 MB / 0.9669 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 8.735e-05/0.314, allocations: 113.8 kB / 1.21 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.3141, allocations: 7.906 kB / 1.21 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.352e-05/0.3141, allocations: 7.531 kB / 1.21 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.3141, allocations: 0 / 1.21 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3141, allocations: 7.938 kB / 1.21 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3141, allocations: 3.938 kB / 1.21 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.3144, allocations: 358.7 kB / 1.211 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.3144, allocations: 4.031 kB / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.489e-06/0.3144, allocations: 3.938 kB / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3144, allocations: 0 / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.3145, allocations: 3.938 kB / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3145, allocations: 0 / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3145, allocations: 3.984 kB / 1.211 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.895e-05/0.3145, allocations: 57.14 kB / 1.211 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.982e-05/0.3146, allocations: 85.02 kB / 1.211 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.3146, allocations: 7.969 kB / 1.211 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.314e-05/0.3146, allocations: 0 / 1.211 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.3147, allocations: 3.984 kB / 1.211 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.3147, allocations: 0 / 1.211 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.6e-05/0.3147, allocations: 103.3 kB / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3148, allocations: 0 / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002138/0.315, allocations: 12 kB / 1.211 GB, free: 6.105 MB / 0.9669 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.0005054/0.3155, allocations: 0.6169 MB / 1.212 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001049/0.3156, allocations: 23.92 kB / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.3156, allocations: 0 / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.227e-05/0.3156, allocations: 11.97 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.3158, allocations: 5.25 kB / 1.212 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003504/0.3161, allocations: 150.5 kB / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.3164, allocations: 0.6846 MB / 1.212 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.101e-05/0.3164, allocations: 8.125 kB / 1.212 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.043e-05/0.3164, allocations: 19.38 kB / 1.212 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.3164, allocations: 0 / 1.212 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/0.3347, allocations: 1.626 MB / 1.214 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.77/8.105, allocations: 7.922 kB / 1.214 GB, free: 2.973 MB / 0.9669 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