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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 218.3 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.311/3.311, allocations: 0.5003 GB / 0.8061 GB, free: 26.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Cryptographics.Validation.SHA1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Cryptographics_Validation_SHA1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 63.58 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3293, allocations: 179 MB / 1.345 GB, free: 460 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001752/0.331, allocations: 0.5388 MB / 1.346 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0004725/0.3315, allocations: 160.5 kB / 1.346 GB, free: 15.75 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.859e-05/0.3315, allocations: 0 / 1.346 GB, free: 15.75 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.744e-05/0.3315, allocations: 7.875 kB / 1.346 GB, free: 15.74 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.3318, allocations: 15.92 kB / 1.346 GB, free: 15.73 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 8.41e-05/0.3318, allocations: 23.92 kB / 1.346 GB, free: 15.7 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.292e-05/0.3319, allocations: 27.91 kB / 1.346 GB, free: 15.68 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.849e-05/0.332, allocations: 0 / 1.346 GB, free: 15.68 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.636e-05/0.332, allocations: 19.92 kB / 1.346 GB, free: 15.66 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004609/0.3325, allocations: 318.8 kB / 1.346 GB, free: 15.36 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.3325, allocations: 0 / 1.346 GB, free: 15.36 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.796e-05/0.3325, allocations: 12 kB / 1.346 GB, free: 15.35 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.3326, allocations: 7.938 kB / 1.346 GB, free: 15.34 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.189e-05/0.3326, allocations: 19.86 kB / 1.346 GB, free: 15.32 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.3327, allocations: 32.12 kB / 1.346 GB, free: 15.29 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3327, allocations: 7.938 kB / 1.346 GB, free: 15.29 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3327, allocations: 0 / 1.346 GB, free: 15.29 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3327, allocations: 0 / 1.346 GB, free: 15.29 MB / 1.045 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.0003859/0.3331, allocations: 274.1 kB / 1.347 GB, free: 14.99 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.3332, allocations: 15.98 kB / 1.347 GB, free: 14.97 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.568e-05/0.3332, allocations: 192 / 1.347 GB, free: 14.97 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.345e-05/0.3332, allocations: 34.75 kB / 1.347 GB, free: 14.93 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.3332, allocations: 8.891 kB / 1.347 GB, free: 14.92 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.3334, allocations: 122.4 kB / 1.347 GB, free: 14.78 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.3334, allocations: 8.312 kB / 1.347 GB, free: 14.77 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.3334, allocations: 8.125 kB / 1.347 GB, free: 14.76 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.3335, allocations: 49.62 kB / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.3335, allocations: 0 / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.3336, allocations: 0 / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3336, allocations: 4 kB / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.412e-05/0.3336, allocations: 15.98 kB / 1.347 GB, free: 14.69 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.334, allocations: 247.9 kB / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.913e-05/0.3341, allocations: 30.5 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.989e-05/0.3341, allocations: 8.922 kB / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-06/0.3341, allocations: 0 / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.3341, allocations: 30.56 kB / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.3341, allocations: 0 / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001439/0.3343, allocations: 33.7 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.3343, allocations: 51.53 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.3345, allocations: 145.7 kB / 1.347 GB, free: 14.06 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.3345, allocations: 25.7 kB / 1.348 GB, free: 14.03 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/0.3345, allocations: 100.1 kB / 1.348 GB, free: 13.93 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.765e-06/0.3345, allocations: 3.938 kB / 1.348 GB, free: 13.92 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/0.3346, allocations: 25.7 kB / 1.348 GB, free: 13.89 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.3348, allocations: 318.8 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.363e-05/0.3348, allocations: 11.98 kB / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.303e-05/0.3348, allocations: 8 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.246e-05/0.3349, allocations: 24.98 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3349, allocations: 0 / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001325/0.335, allocations: 69.62 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.335, allocations: 4 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.335, allocations: 0 / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.335, allocations: 0 / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.277e-05/0.335, allocations: 11.88 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.335, allocations: 0 / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.452e-05/0.3351, allocations: 7.891 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.3351, allocations: 4 kB / 1.348 GB, free: 13.42 MB / 1.045 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.982e-05/0.3352, allocations: 109.8 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.3352, allocations: 8 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.122e-05/0.3353, allocations: 11.39 kB / 1.348 GB, free: 13.28 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3353, allocations: 4 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3353, allocations: 0 / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3353, allocations: 3.938 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003938/0.3357, allocations: 329.8 kB / 1.349 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3357, allocations: 4.031 kB / 1.349 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.101e-06/0.3357, allocations: 3.938 kB / 1.349 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.3357, allocations: 0 / 1.349 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.3357, allocations: 3.938 kB / 1.349 GB, free: 12.88 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3357, allocations: 0 / 1.349 GB, free: 12.88 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.3357, allocations: 4 kB / 1.349 GB, free: 12.88 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.628e-05/0.3358, allocations: 53.14 kB / 1.349 GB, free: 12.81 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.409e-05/0.3358, allocations: 11.97 kB / 1.349 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.3358, allocations: 7.938 kB / 1.349 GB, free: 12.79 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.001e-05/0.3358, allocations: 64 / 1.349 GB, free: 12.79 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.3359, allocations: 8 kB / 1.349 GB, free: 12.78 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.3359, allocations: 0 / 1.349 GB, free: 12.78 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001099/0.336, allocations: 99.27 kB / 1.349 GB, free: 12.68 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/0.336, allocations: 4 kB / 1.349 GB, free: 12.68 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000324/0.3363, allocations: 15.94 kB / 1.349 GB, free: 12.66 MB / 1.045 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.0006821/0.337, allocations: 0.6293 MB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.742e-05/0.3371, allocations: 20 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3371, allocations: 0 / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.305e-05/0.3371, allocations: 11.97 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.3372, allocations: 0 / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003924/0.3376, allocations: 146.6 kB / 1.35 GB, free: 11.8 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.338, allocations: 0.6872 MB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.974e-05/0.338, allocations: 8.125 kB / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.3381, allocations: 19.42 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of SimCode: time 5.92e-07/0.3381, allocations: 0 / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/0.3598, allocations: 1.777 MB / 1.352 GB, free: 9.441 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.85, allocations: 11.59 kB / 1.352 GB, free: 9.434 MB / 1.045 GB " [Timeout remaining time 288] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Cryptographics_Validation_SHA1.fmu > Buildings_latest_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.618637743988074]