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.0008585/0.0008585, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0008108/0.0008108, allocations: 177.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8674/0.8674, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.608/1.608, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 0.9517 GB, free: 1.934 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.895e-05/5.163e-05, allocations: 2.281 kB / 0.9517 GB, free: 1.93 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001611/0.001663, allocations: 0.5324 MB / 0.9522 GB, free: 1.391 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.000389/0.002052, allocations: 152 kB / 0.9524 GB, free: 1.238 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.174e-05/0.002084, allocations: 0 / 0.9524 GB, free: 1.238 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.22e-05/0.002106, allocations: 3.938 kB / 0.9524 GB, free: 1.234 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000272/0.002378, allocations: 11.94 kB / 0.9524 GB, free: 1.223 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 7.069e-05/0.002449, allocations: 23.91 kB / 0.9524 GB, free: 1.199 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.021e-05/0.002519, allocations: 19.92 kB / 0.9524 GB, free: 1.18 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 5.587e-05/0.002575, allocations: 4 kB / 0.9524 GB, free: 1.176 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.918e-05/0.002624, allocations: 23.91 kB / 0.9524 GB, free: 1.152 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003519/0.002976, allocations: 323.8 kB / 0.9528 GB, free: 0.8594 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.002997, allocations: 4 kB / 0.9528 GB, free: 0.8555 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.798e-05/0.003075, allocations: 23.92 kB / 0.9528 GB, free: 0.832 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.003089, allocations: 7.922 kB / 0.9528 GB, free: 0.8242 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.529e-05/0.003114, allocations: 8 kB / 0.9528 GB, free: 0.8164 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.003259, allocations: 43.81 kB / 0.9528 GB, free: 0.7734 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.003263, allocations: 0 / 0.9528 GB, free: 0.7734 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.214e-06/0.003265, allocations: 0 / 0.9528 GB, free: 0.7734 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.00327, allocations: 0 / 0.9528 GB, free: 0.7734 MB / 0.8542 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.0003357/0.003606, allocations: 270.2 kB / 0.9531 GB, free: 492 kB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.003654, allocations: 12.03 kB / 0.9531 GB, free: 480 kB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.003696, allocations: 8.891 kB / 0.9531 GB, free: 472 kB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.822e-05/0.003794, allocations: 113.7 kB / 0.9532 GB, free: 332 kB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.003809, allocations: 8.375 kB / 0.9532 GB, free: 324 kB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.00382, allocations: 384 / 0.9532 GB, free: 324 kB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.003949, allocations: 54.17 kB / 0.9533 GB, free: 264 kB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.003957, allocations: 192 / 0.9533 GB, free: 264 kB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.003969, allocations: 4.125 kB / 0.9533 GB, free: 260 kB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.003974, allocations: 0 / 0.9533 GB, free: 260 kB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.411e-05/0.004018, allocations: 19.98 kB / 0.9533 GB, free: 240 kB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003498/0.004368, allocations: 216.6 kB / 0.9535 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.875e-05/0.004417, allocations: 26.5 kB / 0.9535 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.705e-05/0.004434, allocations: 8.859 kB / 0.9535 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-06/0.004441, allocations: 0 / 0.9535 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.004466, allocations: 38.56 kB / 0.9536 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 7.02e-07/0.004467, allocations: 4 kB / 0.9536 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001368/0.004603, allocations: 37.66 kB / 0.9536 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.004637, allocations: 51.41 kB / 0.9537 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.004745, allocations: 141.7 kB / 0.9538 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.719e-06/0.004755, allocations: 25.7 kB / 0.9538 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.406e-05/0.004799, allocations: 96.08 kB / 0.9539 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.172e-06/0.004805, allocations: 4 kB / 0.9539 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.004839, allocations: 33.78 kB / 0.954 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0004084/0.005247, allocations: 314.8 kB / 0.9543 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.688e-05/0.005274, allocations: 15.98 kB / 0.9543 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.806e-05/0.005292, allocations: 11.88 kB / 0.9543 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.825e-05/0.00533, allocations: 16.86 kB / 0.9543 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.005334, allocations: 4.062 kB / 0.9543 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.429e-05/0.005428, allocations: 65.69 kB / 0.9544 GB, free: 15.03 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.005445, allocations: 7.984 kB / 0.9544 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.005453, allocations: 3.984 kB / 0.9544 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.005467, allocations: 0 / 0.9544 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.786e-05/0.005495, allocations: 4 kB / 0.9544 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.005501, allocations: 4 kB / 0.9544 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.593e-05/0.005526, allocations: 3.953 kB / 0.9544 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.005536, allocations: 4 kB / 0.9544 GB, free: 15 MB / 0.8698 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 6.688e-05/0.005603, allocations: 121.7 kB / 0.9545 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/0.005618, allocations: 4 kB / 0.9545 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.393e-05/0.005642, allocations: 7.453 kB / 0.9545 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.005647, allocations: 4 kB / 0.9545 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.005652, allocations: 0 / 0.9545 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.005655, allocations: 0 / 0.9545 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.005871, allocations: 318.3 kB / 0.9548 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.005872, allocations: 0 / 0.9548 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.589e-06/0.005877, allocations: 0 / 0.9548 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.005879, allocations: 0 / 0.9548 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.005886, allocations: 3.938 kB / 0.9548 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.005888, allocations: 4 kB / 0.9548 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.005889, allocations: 3.938 kB / 0.9548 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.605e-05/0.005945, allocations: 61.06 kB / 0.9549 GB, free: 14.42 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-06/0.005952, allocations: 3.953 kB / 0.9549 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.005963, allocations: 0 / 0.9549 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.307e-06/0.005973, allocations: 4 kB / 0.9549 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.135e-05/0.005994, allocations: 4.062 kB / 0.9549 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.005996, allocations: 0 / 0.9549 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.067e-05/0.006046, allocations: 110.1 kB / 0.955 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.006046, allocations: 0 / 0.955 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001524/0.006199, allocations: 12 kB / 0.955 GB, free: 14.29 MB / 0.8698 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.0002746/0.006473, allocations: 134.4 kB / 0.9552 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.604e-05/0.006569, allocations: 31.86 kB / 0.9552 GB, free: 14.13 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.006572, allocations: 0 / 0.9552 GB, free: 14.13 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.907e-06/0.006576, allocations: 0 / 0.9552 GB, free: 14.13 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/0.006694, allocations: 4 kB / 0.9552 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002518/0.006946, allocations: 145.8 kB / 0.9553 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.893e-05/0.006995, allocations: 63.34 kB / 0.9554 GB, free: 13.87 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.007028, allocations: 16.48 kB / 0.9554 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of SimCode: time 4.31e-07/0.007029, allocations: 0 / 0.9554 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of Templates: time 0.002325/0.009354, allocations: 0.9745 MB / 0.9564 GB, free: 12.88 MB / 0.8698 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: 6.270806453190744]