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.009336/0.009336, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.002024/0.002024, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.761/2.761, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 72.11 kB / 1.054 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3044, allocations: 157.4 MB / 1.207 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.002078/0.3065, allocations: 0.5299 MB / 1.208 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005068/0.3071, allocations: 144 kB / 1.208 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.452e-05/0.3071, allocations: 0 / 1.208 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.3072, allocations: 0 / 1.208 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002399/0.3074, allocations: 15.86 kB / 1.208 GB, free: 9.516 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 9.746e-05/0.3075, allocations: 23.98 kB / 1.208 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.948e-05/0.3076, allocations: 31.84 kB / 1.208 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.954e-05/0.3077, allocations: 0 / 1.208 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.247e-05/0.3077, allocations: 15.94 kB / 1.208 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003918/0.3081, allocations: 313.3 kB / 1.208 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.3082, allocations: 0 / 1.208 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.258e-05/0.3082, allocations: 15.98 kB / 1.208 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.3083, allocations: 11.94 kB / 1.208 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.3083, allocations: 11.88 kB / 1.208 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.3084, allocations: 35.89 kB / 1.208 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3084, allocations: 0 / 1.208 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3084, allocations: 0 / 1.208 GB, free: 9.09 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.3084, allocations: 3.938 kB / 1.208 GB, free: 9.086 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.0003607/0.3088, allocations: 359.5 kB / 1.209 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3089, allocations: 12.03 kB / 1.209 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.293e-05/0.3089, allocations: 30.75 kB / 1.209 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.3089, allocations: 4.844 kB / 1.209 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.3091, allocations: 172.3 kB / 1.209 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.3091, allocations: 4.375 kB / 1.209 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.3091, allocations: 4.375 kB / 1.209 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.3093, allocations: 53.61 kB / 1.209 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3093, allocations: 0 / 1.209 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.3093, allocations: 3.938 kB / 1.209 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3093, allocations: 4 kB / 1.209 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.746e-05/0.3094, allocations: 19.92 kB / 1.209 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.3097, allocations: 276.8 kB / 1.209 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.924e-05/0.3098, allocations: 18.58 kB / 1.209 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.883e-05/0.3098, allocations: 8.844 kB / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.3098, allocations: 3.984 kB / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.3098, allocations: 34.56 kB / 1.209 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.423e-06/0.3098, allocations: 0 / 1.209 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001521/0.31, allocations: 45.61 kB / 1.209 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.31, allocations: 51.41 kB / 1.209 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.3102, allocations: 137.8 kB / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.3102, allocations: 25.7 kB / 1.21 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.112e-05/0.3102, allocations: 99.97 kB / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.694e-06/0.3103, allocations: 3.906 kB / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.3103, allocations: 29.83 kB / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.3104, allocations: 322.8 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.598e-05/0.3104, allocations: 7.984 kB / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.252e-05/0.3105, allocations: 12 kB / 1.21 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.49e-05/0.3105, allocations: 20.8 kB / 1.21 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3105, allocations: 128 / 1.21 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001192/0.3107, allocations: 61.69 kB / 1.21 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3107, allocations: 4 kB / 1.21 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.3107, allocations: 3.984 kB / 1.21 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.3107, allocations: 8 kB / 1.21 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.491e-05/0.3107, allocations: 0 / 1.21 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3108, allocations: 0 / 1.21 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.485e-05/0.3108, allocations: 11.84 kB / 1.21 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.3108, allocations: 3.938 kB / 1.21 GB, free: 7.031 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 9.155e-05/0.3109, allocations: 118.4 kB / 1.21 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.3109, allocations: 3.906 kB / 1.21 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.311, allocations: 11.52 kB / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.311, allocations: 3.938 kB / 1.21 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.311, allocations: 4 kB / 1.21 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.311, allocations: 3.938 kB / 1.21 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003154/0.3113, allocations: 358.7 kB / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.3114, allocations: 3.984 kB / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.69e-06/0.3114, allocations: 0 / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3114, allocations: 0 / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.3114, allocations: 3.938 kB / 1.211 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.3114, allocations: 4 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.3114, allocations: 4.031 kB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.742e-05/0.3115, allocations: 57.08 kB / 1.211 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.3116, allocations: 85.02 kB / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.3116, allocations: 7.922 kB / 1.211 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.432e-05/0.3116, allocations: 0 / 1.211 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/0.3116, allocations: 4 kB / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.3116, allocations: 0 / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.737e-05/0.3117, allocations: 105.8 kB / 1.211 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3117, allocations: 4 kB / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002306/0.312, allocations: 12 kB / 1.211 GB, free: 6.145 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.0005689/0.3125, allocations: 0.6172 MB / 1.211 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001158/0.3127, allocations: 31.86 kB / 1.212 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3127, allocations: 0 / 1.212 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.093e-06/0.3127, allocations: 0 / 1.212 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.3128, allocations: 11.94 kB / 1.212 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003769/0.3132, allocations: 150.5 kB / 1.212 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.3135, allocations: 0.6846 MB / 1.212 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.824e-05/0.3135, allocations: 4 kB / 1.212 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.3136, allocations: 19.42 kB / 1.212 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/0.3136, allocations: 0 / 1.212 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/0.3323, allocations: 1.628 MB / 1.214 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.417/7.75, allocations: 12.67 kB / 1.214 GB, free: 3.008 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