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.001745/0.001745, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.002293/0.002293, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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 1.435/1.435, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 2.685/2.685, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] 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 4.408e-06/4.408e-06, allocations: 4 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.736e-05, allocations: 2.312 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Cryptographics.Validation.SHA1): time 0.001582/0.00161, allocations: 0.5346 MB / 0.7869 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004769/0.002087, allocations: 157 kB / 0.787 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.029e-05/0.002117, allocations: 0 / 0.787 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.312e-05/0.00213, allocations: 4.844 kB / 0.787 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.002335, allocations: 7.922 kB / 0.787 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 8.826e-05/0.002423, allocations: 31.84 kB / 0.7871 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.527e-05/0.002489, allocations: 20.67 kB / 0.7871 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.289e-05/0.002542, allocations: 11.98 kB / 0.7871 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.264e-05/0.002584, allocations: 8.891 kB / 0.7871 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004611/0.003045, allocations: 334 kB / 0.7874 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.003065, allocations: 4 kB / 0.7874 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.47e-05/0.00313, allocations: 11.94 kB / 0.7874 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/0.003149, allocations: 9.594 kB / 0.7874 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.912e-05/0.003178, allocations: 11.91 kB / 0.7875 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.003311, allocations: 39.83 kB / 0.7875 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.003314, allocations: 0 / 0.7875 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.11e-07/0.003314, allocations: 1 kB / 0.7875 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.003319, allocations: 3.938 kB / 0.7875 GB, free: 11.7 MB / 0.7448 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.0003978/0.003717, allocations: 274.2 kB / 0.7878 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.003768, allocations: 8.656 kB / 0.7878 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.706e-05/0.003825, allocations: 8.922 kB / 0.7878 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.003958, allocations: 119.1 kB / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.003971, allocations: 384 / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.003984, allocations: 4.375 kB / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.00412, allocations: 47.41 kB / 0.7879 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.00413, allocations: 192 / 0.7879 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.004145, allocations: 8.125 kB / 0.7879 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.00415, allocations: 3.938 kB / 0.7879 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.498e-05/0.004205, allocations: 17.05 kB / 0.788 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.004565, allocations: 220.6 kB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.167e-05/0.004617, allocations: 23.73 kB / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.062e-05/0.004638, allocations: 8.922 kB / 0.7882 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.071e-06/0.004644, allocations: 0 / 0.7882 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.004685, allocations: 36.22 kB / 0.7882 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.004686, allocations: 3.938 kB / 0.7882 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001626/0.004849, allocations: 37.69 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.004895, allocations: 51.41 kB / 0.7883 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.005054, allocations: 143.3 kB / 0.7885 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.005072, allocations: 25.7 kB / 0.7885 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.11e-05/0.005143, allocations: 96.09 kB / 0.7886 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.444e-06/0.005151, allocations: 3.953 kB / 0.7886 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.005202, allocations: 27.14 kB / 0.7886 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.005371, allocations: 318.8 kB / 0.7889 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.812e-05/0.005399, allocations: 8 kB / 0.7889 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.989e-05/0.005429, allocations: 19.98 kB / 0.7889 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.352e-05/0.005472, allocations: 23.61 kB / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.005476, allocations: 3.938 kB / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001416/0.005618, allocations: 65.64 kB / 0.789 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.005632, allocations: 4 kB / 0.789 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.005637, allocations: 3.938 kB / 0.789 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.005655, allocations: 0 / 0.789 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.299e-05/0.005678, allocations: 4 kB / 0.789 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.005685, allocations: 4.703 kB / 0.789 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.743e-05/0.005712, allocations: 0 / 0.789 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.005722, allocations: 4.531 kB / 0.7891 GB, free: 9.949 MB / 0.7448 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.985e-05/0.005822, allocations: 127 kB / 0.7892 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.00585, allocations: 3.953 kB / 0.7892 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.746e-05/0.005867, allocations: 7.469 kB / 0.7892 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.005868, allocations: 0 / 0.7892 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.005872, allocations: 0.5312 kB / 0.7892 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.005874, allocations: 1.375 kB / 0.7892 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000314/0.006188, allocations: 310.3 kB / 0.7895 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.006189, allocations: 0 / 0.7895 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-06/0.006193, allocations: 0 / 0.7895 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.006198, allocations: 5.156 kB / 0.7895 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.006205, allocations: 4 kB / 0.7895 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.006207, allocations: 0 / 0.7895 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.006208, allocations: 1.438 kB / 0.7895 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.608e-05/0.006294, allocations: 64.97 kB / 0.7896 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.24e-05/0.006306, allocations: 13.73 kB / 0.7896 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.006319, allocations: 0 / 0.7896 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.371e-05/0.006333, allocations: 0 / 0.7896 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.006351, allocations: 0 / 0.7896 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.006353, allocations: 0 / 0.7896 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.725e-05/0.00644, allocations: 106.8 kB / 0.7897 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.00644, allocations: 0 / 0.7897 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003075/0.006748, allocations: 15.98 kB / 0.7897 GB, free: 9.246 MB / 0.7448 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.0003086/0.007057, allocations: 135.1 kB / 0.7898 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.699e-05/0.007153, allocations: 27.86 kB / 0.7898 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.007155, allocations: 0 / 0.7898 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.999e-06/0.007165, allocations: 4 kB / 0.7898 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.007306, allocations: 0 / 0.7898 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002756/0.007582, allocations: 124.4 kB / 0.79 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.516e-05/0.007647, allocations: 64.47 kB / 0.79 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.141e-05/0.007678, allocations: 10.09 kB / 0.79 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.00771, allocations: 16.48 kB / 0.79 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/0.007711, allocations: 0 / 0.79 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of Templates: time 0.003311/0.01102, allocations: 0.5813 MB / 0.7906 GB, free: 8.285 MB / 0.7448 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: 7.340156903956085]