Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001722/0.001722, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002135/0.002135, allocations: 219.2 kB / 23.01 MB, free: 4.605 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.269/3.269, allocations: 0.49 GB / 0.7958 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings.Utilities.Cryptographics.Validation.SHA1") translateModel(Buildings.Utilities.Cryptographics.Validation.SHA1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmpAll",fileNamePrefix="Buildings_12_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.002117/0.002117, allocations: 67.23 kB / 1.155 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3974, allocations: 176.1 MB / 1.327 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001849/0.3993, allocations: 0.5506 MB / 1.328 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005092/0.3998, allocations: 152.5 kB / 1.328 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.895e-05/0.3998, allocations: 0 / 1.328 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.183e-05/0.3998, allocations: 3.938 kB / 1.328 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.4001, allocations: 11.94 kB / 1.328 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.259e-05/0.4001, allocations: 27.91 kB / 1.328 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.377e-05/0.4002, allocations: 23.92 kB / 1.328 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.044e-05/0.4003, allocations: 7.969 kB / 1.328 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.16e-05/0.4003, allocations: 11.94 kB / 1.328 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004351/0.4007, allocations: 318.2 kB / 1.328 GB, free: 428 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.4008, allocations: 3.938 kB / 1.328 GB, free: 424 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.834e-05/0.4008, allocations: 15.98 kB / 1.328 GB, free: 408 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/0.4008, allocations: 11.98 kB / 1.328 GB, free: 396 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.841e-05/0.4009, allocations: 11.88 kB / 1.328 GB, free: 384 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.401, allocations: 39.77 kB / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.401, allocations: 0 / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.813e-06/0.401, allocations: 0 / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.401, allocations: 0 / 1.328 GB, free: 344 kB / 1.014 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.0003749/0.4014, allocations: 278.1 kB / 1.329 GB, free: 36 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.4014, allocations: 15.98 kB / 1.329 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.4015, allocations: 8.828 kB / 1.329 GB, free: 12 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.4016, allocations: 122.4 kB / 1.329 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.4016, allocations: 4.375 kB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.4016, allocations: 384 / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.4018, allocations: 61.75 kB / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.4018, allocations: 0 / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.4018, allocations: 0 / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4018, allocations: 0 / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.04e-05/0.4019, allocations: 23.98 kB / 1.329 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.4023, allocations: 240 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.287e-05/0.4023, allocations: 22.58 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.833e-05/0.4023, allocations: 4.859 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.4023, allocations: 3.938 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.4024, allocations: 30.56 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.4024, allocations: 4 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.000156/0.4025, allocations: 37.72 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.4026, allocations: 51.41 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.4027, allocations: 140.6 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.4027, allocations: 25.7 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/0.4028, allocations: 100 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.745e-06/0.4028, allocations: 3.938 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.4029, allocations: 25.7 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.403, allocations: 326.9 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.597e-05/0.403, allocations: 7.984 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.759e-05/0.4031, allocations: 15.94 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.012e-05/0.4031, allocations: 16.86 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.4031, allocations: 0 / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001197/0.4032, allocations: 65.62 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.4033, allocations: 6.188 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.4033, allocations: 4 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.4033, allocations: 3.984 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.152e-05/0.4033, allocations: 4 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.4033, allocations: 3.938 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.508e-05/0.4033, allocations: 7.938 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.4033, allocations: 3.938 kB / 1.33 GB, free: 14.52 MB / 1.029 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 7.991e-05/0.4034, allocations: 117.8 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.4034, allocations: 3.953 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.352e-05/0.4035, allocations: 11.45 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.4035, allocations: 0 / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.4035, allocations: 192 / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4035, allocations: 8 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002972/0.4038, allocations: 333.8 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4038, allocations: 0 / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-06/0.4038, allocations: 0 / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4038, allocations: 4 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.4038, allocations: 0 / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.4038, allocations: 7.875 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4038, allocations: 0 / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.258e-05/0.4039, allocations: 61.12 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-06/0.4039, allocations: 3.984 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.4039, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.653e-05/0.4039, allocations: 11.94 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.239e-05/0.4039, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-06/0.4039, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.955e-05/0.404, allocations: 99.27 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.404, allocations: 0 / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002045/0.4042, allocations: 19.97 kB / 1.33 GB, free: 13.76 MB / 1.029 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.0003107/0.4045, allocations: 121.9 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001167/0.4047, allocations: 27.92 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4047, allocations: 0 / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.996e-06/0.4047, allocations: 4 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.4048, allocations: 4 kB / 1.331 GB, free: 13.6 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003047/0.4051, allocations: 146.6 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.4054, allocations: 0.6807 MB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.4054, allocations: 11.44 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4054, allocations: 0 / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of Templates: time 0.003229/0.4087, allocations: 0.9673 MB / 1.332 GB, free: 11.75 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe >> ../files/Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.sim & ./Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Cryptographics.Validation.SHA1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Cryptographics_Validation_SHA1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.629105522995815]