Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001355/0.001355, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001765/0.001765, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.816/2.816, allocations: 476.7 MB / 0.7706 GB, free: 4.305 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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: translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmpAll",fileNamePrefix="Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmpAll",fileNamePrefix="Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1") [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.002126/0.002126, allocations: 68.73 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3143, allocations: 170 MB / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001689/0.316, allocations: 0.5381 MB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004395/0.3164, allocations: 164.1 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.186e-05/0.3165, allocations: 0 / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.941e-05/0.3165, allocations: 3.938 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.3167, allocations: 7.922 kB / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.872e-05/0.3168, allocations: 27.91 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.723e-05/0.3168, allocations: 19.98 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.446e-05/0.3169, allocations: 15.94 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.318e-05/0.3169, allocations: 7.938 kB / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004278/0.3173, allocations: 319.9 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.3173, allocations: 4 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.081e-05/0.3174, allocations: 15.98 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.3174, allocations: 3.938 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.462e-05/0.3175, allocations: 19.86 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.3176, allocations: 35.83 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.3176, allocations: 4 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3176, allocations: 4 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.3176, allocations: 0 / 1.285 GB, free: 10.05 MB / 0.9825 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.0003513/0.318, allocations: 270.1 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.318, allocations: 15.88 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.318, allocations: 12.89 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.3181, allocations: 114.4 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.3182, allocations: 384 / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.3182, allocations: 4.375 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.3183, allocations: 53.8 kB / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3183, allocations: 4 kB / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.3183, allocations: 4 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3183, allocations: 0 / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.718e-05/0.3184, allocations: 15.94 kB / 1.285 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.3187, allocations: 244 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.496e-05/0.3188, allocations: 14.58 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.929e-05/0.3188, allocations: 12.92 kB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.3188, allocations: 4 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.3188, allocations: 30.56 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.3188, allocations: 0 / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001478/0.319, allocations: 41.59 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.319, allocations: 55.39 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.3191, allocations: 137.3 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.3192, allocations: 25.7 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.628e-05/0.3192, allocations: 108.1 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.979e-06/0.3192, allocations: 3.938 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.3193, allocations: 25.7 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3194, allocations: 318.8 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.776e-05/0.3194, allocations: 12 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.218e-05/0.3195, allocations: 8 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.124e-05/0.3195, allocations: 24.78 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3195, allocations: 4.062 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001119/0.3196, allocations: 65.64 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.3196, allocations: 8 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3196, allocations: 0 / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.3197, allocations: 0 / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.503e-05/0.3197, allocations: 8 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3197, allocations: 0 / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.176e-05/0.3197, allocations: 0 / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.3197, allocations: 11.92 kB / 1.287 GB, free: 8.242 MB / 0.9825 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.157e-05/0.3198, allocations: 113.3 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.3198, allocations: 11.94 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.113e-05/0.3199, allocations: 15.47 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.3199, allocations: 0 / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3199, allocations: 0 / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3199, allocations: 0 / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.3201, allocations: 329.8 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3201, allocations: 0 / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.667e-06/0.3201, allocations: 0 / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3201, allocations: 0 / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-06/0.3202, allocations: 0 / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3202, allocations: 7.969 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3202, allocations: 4 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.492e-05/0.3202, allocations: 69.02 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-06/0.3202, allocations: 0 / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.3202, allocations: 0 / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.396e-05/0.3203, allocations: 3.938 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.108e-05/0.3203, allocations: 4 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.3203, allocations: 4.031 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.194e-05/0.3204, allocations: 107.2 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3204, allocations: 0 / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001983/0.3206, allocations: 11.94 kB / 1.287 GB, free: 7.496 MB / 0.9825 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.0002809/0.3208, allocations: 139.5 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000108/0.3209, allocations: 27.92 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3209, allocations: 3.938 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.257e-06/0.321, allocations: 4 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.3211, allocations: 0 / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002397/0.3213, allocations: 116.9 kB / 1.287 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.3216, allocations: 0.6807 MB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.948e-05/0.3217, allocations: 7.984 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.979e-05/0.3217, allocations: 11.5 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3217, allocations: 0 / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of Templates: time 0.003163/0.3249, allocations: 0.5581 MB / 1.289 GB, free: 5.906 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & ./Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.768597110174596]