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.001668/0.001668, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001804/0.001804, allocations: 212.1 kB / 22.25 MB, free: 4.859 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.548/1.548, allocations: 230.6 MB / 256 MB, free: 7.801 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.831/2.831, allocations: 475.9 MB / 0.7699 GB, free: 4.758 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.002109/0.002109, allocations: 68.42 kB / 1.117 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3287, allocations: 169.9 MB / 1.283 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001597/0.3303, allocations: 0.5398 MB / 1.284 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004325/0.3307, allocations: 144.5 kB / 1.284 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.646e-05/0.3308, allocations: 4 kB / 1.284 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.535e-05/0.3308, allocations: 3.938 kB / 1.284 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.331, allocations: 11.94 kB / 1.284 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.713e-05/0.331, allocations: 27.84 kB / 1.284 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.044e-05/0.3311, allocations: 23.92 kB / 1.284 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.618e-05/0.3312, allocations: 7.984 kB / 1.284 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.684e-05/0.3312, allocations: 19.88 kB / 1.284 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003961/0.3316, allocations: 321.8 kB / 1.284 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.3316, allocations: 0 / 1.284 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.695e-05/0.3317, allocations: 12 kB / 1.284 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.017e-05/0.3317, allocations: 19.91 kB / 1.284 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.353e-05/0.3317, allocations: 7.938 kB / 1.284 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.3318, allocations: 35.83 kB / 1.284 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.3318, allocations: 0 / 1.284 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3318, allocations: 0 / 1.284 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.3318, allocations: 0 / 1.284 GB, free: 2.727 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.0003593/0.3322, allocations: 278.1 kB / 1.284 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.3322, allocations: 11.89 kB / 1.284 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.3323, allocations: 12.89 kB / 1.284 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.3324, allocations: 114.5 kB / 1.285 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.3324, allocations: 4.375 kB / 1.285 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.3324, allocations: 4.375 kB / 1.285 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.3325, allocations: 49.81 kB / 1.285 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3325, allocations: 3.938 kB / 1.285 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.3325, allocations: 0 / 1.285 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3325, allocations: 7.938 kB / 1.285 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.882e-05/0.3326, allocations: 15.98 kB / 1.285 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003282/0.3329, allocations: 224.5 kB / 1.285 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.042e-05/0.3329, allocations: 18.56 kB / 1.285 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.764e-05/0.333, allocations: 8.922 kB / 1.285 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.312e-06/0.333, allocations: 4 kB / 1.285 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.333, allocations: 38.5 kB / 1.285 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.333, allocations: 0 / 1.285 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001351/0.3331, allocations: 41.64 kB / 1.285 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.3332, allocations: 51.41 kB / 1.285 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.3333, allocations: 141.3 kB / 1.285 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.3333, allocations: 25.7 kB / 1.285 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/0.3334, allocations: 96.03 kB / 1.285 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.376e-06/0.3334, allocations: 7.984 kB / 1.285 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.3334, allocations: 25.7 kB / 1.285 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3336, allocations: 322.9 kB / 1.286 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.961e-05/0.3336, allocations: 12 kB / 1.286 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.399e-05/0.3336, allocations: 12 kB / 1.286 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.008e-05/0.3337, allocations: 24.78 kB / 1.286 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3337, allocations: 0 / 1.286 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001113/0.3338, allocations: 57.83 kB / 1.286 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3338, allocations: 8 kB / 1.286 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-06/0.3338, allocations: 0 / 1.286 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3338, allocations: 4 kB / 1.286 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.926e-05/0.3338, allocations: 0 / 1.286 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3338, allocations: 3.938 kB / 1.286 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.615e-05/0.3339, allocations: 12 kB / 1.286 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.3339, allocations: 3.984 kB / 1.286 GB, free: 0.9453 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.625e-05/0.334, allocations: 119.2 kB / 1.286 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.334, allocations: 7.953 kB / 1.286 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.081e-05/0.334, allocations: 7.469 kB / 1.286 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.334, allocations: 0 / 1.286 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.334, allocations: 0 / 1.286 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.334, allocations: 0 / 1.286 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.3343, allocations: 314.3 kB / 1.286 GB, free: 468 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3343, allocations: 0 / 1.286 GB, free: 468 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.827e-06/0.3343, allocations: 4.031 kB / 1.286 GB, free: 464 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.3343, allocations: 0 / 1.286 GB, free: 464 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-06/0.3343, allocations: 0 / 1.286 GB, free: 464 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3343, allocations: 3.984 kB / 1.286 GB, free: 460 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3343, allocations: 0 / 1.286 GB, free: 460 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.671e-05/0.3344, allocations: 68.97 kB / 1.286 GB, free: 372 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.795e-06/0.3344, allocations: 11.89 kB / 1.286 GB, free: 360 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.3344, allocations: 3.984 kB / 1.286 GB, free: 356 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.224e-05/0.3344, allocations: 0 / 1.286 GB, free: 356 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/0.3344, allocations: 7.938 kB / 1.286 GB, free: 348 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.3344, allocations: 0 / 1.286 GB, free: 348 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.192e-05/0.3345, allocations: 107.3 kB / 1.286 GB, free: 240 kB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3345, allocations: 0 / 1.286 GB, free: 240 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002014/0.3347, allocations: 11.94 kB / 1.286 GB, free: 228 kB / 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.0002733/0.335, allocations: 116.9 kB / 1.286 GB, free: 112 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.984e-05/0.3351, allocations: 23.92 kB / 1.286 GB, free: 88 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3351, allocations: 4 kB / 1.286 GB, free: 84 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.843e-06/0.3351, allocations: 4 kB / 1.286 GB, free: 80 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.3352, allocations: 4 kB / 1.286 GB, free: 76 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002343/0.3355, allocations: 115 kB / 1.287 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.714e-05/0.3355, allocations: 67.28 kB / 1.287 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.07e-05/0.3356, allocations: 8.125 kB / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.074e-05/0.3356, allocations: 15.38 kB / 1.287 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.3356, allocations: 0 / 1.287 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of Templates: time 0.002796/0.3384, allocations: 0.5674 MB / 1.287 GB, free: 15.27 MB / 0.9981 GB " [Timeout remaining time 300] 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.749898463487625]